Make `SingleResourceBody` explicitly optional or not.
Pre-release
Pre-release
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.