This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
Releases: genie-team/graphql-genie
Releases · genie-team/graphql-genie
Bug Fixes and Library updates
Fixes #19 and upgrades many libraries to newer versions, including removing security vulnerabilities
v0.4.10
Allow timestamp directives to have manual values with allowManual option
https://github.com/genie-team/graphql-genie/blob/master/docs/sdl.md#custom-directives-you-can-use
Connect and disconnect
Conditions Feature
Conditions - New Feature!
- Conditions allow you to not update/delete data unless they are met and also get the data back that didn't meet conditions
- Conditions are on updates, upserts and deletes
- Conditions are also on the importRawData function and importData resolver
Breaking
- The
importData
mutation returns data now and not just a boolean, this will break existing mutations
@storeName directive
- Implemented @StoreName custom directive to better facilitate altering schema
- Added documentation on altering your schema
Bug Fixes
v0.4.0 Changes
- Genie now synchronously builds itself, this means no need to call a
.init
function that is asynchronous - Plugins are also now synchronous, so they can be passed to the constructor (
.use
still works but is synchrounous) - new function
.useAsync
if you do need an async plugin
Non Null Lists
List types will return empty arrays instead of null and non null list fields no longer require values on creation in order to support empty lists.
Singular Queries
Add feature of singular queries
Improve Import/Export
Import can now take a context object
Export can now specify types, and take a context object