Skip to content

Make `SingleResourceBody` explicitly optional or not.

Pre-release
Pre-release
Compare
Choose a tag to compare
@mattpolzin mattpolzin released this 01 Dec 09:17

In previous versions, the PrimaryResource inside a SingleResourceBody was always optional. Now you can get that behavior by explicitly calling it optional, or you can specify that the PrimaryResource should be .some or else the document should fail to parse.