Skip to content

Allow metadata references#207

Open
chrisandreae wants to merge 4 commits intomasterfrom
allow-metadata-references
Open

Allow metadata references#207
chrisandreae wants to merge 4 commits intomasterfrom
allow-metadata-references

Conversation

@chrisandreae
Copy link
Copy Markdown
Member

Reference serialization in prerender_viewmodel/prerender_json_view is now deferred until after the optional metadata block. The block is now allowed to contribute references to the serialize_context which will be included in the final references serialization.

SerializeContext gains a new add_preserialized_reference to permit recording a pre-serialized reference literal.

Reference serialization in prerender_viewmodel/prerender_json_view are is now
deferred until the optional metadata block. The block is now passed a serialize
context, and it may contribute references to this block that will be included.

SerializeContext gains a new `add_preserialized_reference` to permit recording a
pre-serialized reference literal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant