Why we need to duplicate fields for different labels? #62
Replies: 2 comments
-
In your first example, it seems like the "state" between messages 2 and 3 (when we have f2 but not f3 or f4) does not correspond to any specific set of deferred fragments being resolved. That seems wrong to me? It seems like the whole point of putting defer at the fragment level is so that when doing codegen etc you can say "at any given time, either an entire deferred fragment is available or it's all missing (other than nested defers/streams/etc)". Which this breaks? I mean I think I like the overall concept, but I'd want to see f2 only come in with either f3 or f4. |
Beta Was this translation helpful? Give feedback.
-
This proposal has evolved and is now being discussed here: #65 (comment) |
Beta Was this translation helpful? Give feedback.
-
Following #52 (reply in thread) by @yaacovCR it seems we adding a lot of complexity and workarounds to allow duplicating defer fields with different labels.
Given this query:
we need to send value of
someField
3 times.Why do we need this?
Solution:
I want to solve this separately from #52, so the solution is entirely based on the current proposal and doesn't include any ideas from #52.
I propose to treat incremental items as a path and follow the "merge patch" approach (an idea is borrowed from RFC 7386)
Given query:
I suggest following response format:
Benefits
Complex example1
Beta Was this translation helpful? Give feedback.
All reactions