Open-source serverless enterprise CMS. Includes a headless CMS, page builder, form builder, and file manager. Easy to customize and expand. Deploys to AWS.
This PR fixes an issue that was present with the resurrected ownedBy and publishedOn GraphQL fields (now marked as deprecated).
Prior to this PR, despite the fact that the data existed in the database, the values for these fields would always end up being null:
With this PR, this is no longer the case. The fields will always contain the correct value (the value that's actually recorded in the database).
Additional Changes
We've also tested the ability to add a custom GraphQL field resolver for these fields, in case a user wants to return fallback values in a different way.
Changes
This PR fixes an issue that was present with the resurrected
ownedBy
andpublishedOn
GraphQL fields (now marked as deprecated).Prior to this PR, despite the fact that the data existed in the database, the values for these fields would always end up being
null
:With this PR, this is no longer the case. The fields will always contain the correct value (the value that's actually recorded in the database).
Additional Changes
We've also tested the ability to add a custom GraphQL field resolver for these fields, in case a user wants to return fallback values in a different way.
How Has This Been Tested?
Manual, added two Jest tests.
Documentation
Changelog.