0.22.0
0.22.0 (2022-10-11)
Breaking Change
- #758: fix(server): field directives
-
π¦ server
-
π€ @nalchevanidze
-
- `importGQLDocument`, `importGQLDocumentWithNamespace` uses relative path and Describe directive - deprecated `description`, `getDescriptions` . - fix/implements `VisitField`
-
New features
- #753: morpheus-graphql-server package
- π€ @nalchevanidze
-
- Data.Morpheus.Server is now part of package `moprheus-graphql-server` - new package `moprheus-graphql-server`
- #754: feat: API Constraints
-
π€ @nalchevanidze
-
- `withConstraint` allows us to apply a constraint function to `App` which is checked before each request.
fixes #579
Bug Fixes
- #755: 613 internal context
-
π€ @nalchevanidze
-
- deprecated `unsafeInternalContext` use `asks` - `SelectionTree` exposes `getChildren`, `getChild`, `hasChild`, `getArguments` and `getArgument` - exposed directive `Describe` to describe fields, enums and types - deprecated `description` and `getDescriptions` in favour of `Describe { text ="some text" }` directive
-
- #756: fix: enum visitor
- π¦ server
- π€ @nalchevanidze
-
- fix/implement visitor functionalities for `VisitEnum` typeclass - implements `Rename` directive
Minor Changes
- #757: type checked directive locations
- π€ @nalchevanidze
-
- exposes `fieldDirective'` and `enumDirective'` using type checked template Haskell names
- #759: organize code gen
- π€ @nalchevanidze
-
introduce package `morpheus-graphql-code-gen-utils`
- #760: Refactor code gen
- π€ @nalchevanidze