Stream: cds hooks
Topic: Extensions in context for prefetch
Lloyd McKenzie (Aug 07 2018 at 00:39):
At present, the specification says Only root-level fields with a primitive value within the context object are eligible to be used as prefetch tokens.
This would seem to preclude the use of extension elements in context from being used in prefetch. That's a pretty fundamental limit on extensibility. Would it be reasonable to change the rule to allow Only root-level fields or extension root-level fields with a primitive value...
?
Kevin Shekleton (Aug 07 2018 at 13:27):
That seems like a reasonable change to me. Care to log a GitHub issue for this?
Out of curiosity, did this need arise out of the DaVinci work you're doing?
Lloyd McKenzie (Aug 07 2018 at 14:32):
It arose from the discussion. The recommendation from Isaac was to pre-adopt the resolution of 377 for the purposes of the connectathon with a warning that it was a preadoption and to adjust the specification based on where that landed rather than using extensions. I'm raising it because technically using extensions wasn't really an option.
Lloyd McKenzie (Aug 07 2018 at 15:06):
Posted as #394
Last updated: Apr 12 2022 at 19:14 UTC