sangria v1.2.0 Release Notes
Release Date: 2017-04-29 // about 7 years ago-
- ๐ Provide convenient functions for IDL-based schema materialization and validation (#240). For more info see the "Query Validation" section of documentation. Improvements include:
- Introduced Schema.buildStubFromAst that builds a schema with a stub Query type
- Introduced Schema.buildDefinitions that builds a list of definitions based on IDL AST (without a schema)
- Introduced Document.emptyStub as a most basic, but valid document stub
- Introduced alias query1 + query2 for document merge
- โ Add
Fetcher.deferSeqOptExplicit
or similar to explicitly getSeq[Option[T]]
in the result (#230) - ๐ Fixed scalar aliases when they are used with variables or schema is extended (#237)
- Preserve IDL directives at schema materialization time and use them in schema comparator (#236). This also adds
Vector[ast.Directive]
to all relevant schema definitions which may be extremely useful for future features and schema analysis - ๐ Improve syntax error reporting for
graphql
macro (#235) - ๐ Improve
Int
,BigInt
andLong
scalar value handling (#234) - ๐ Propagate updated value through middleware's
afterField
(#233). For more info see the "Middleware" section of documentation. - Forbid 'true', 'false' and 'null' as names for Enum value (#239)
- ๐ Provide convenient functions for IDL-based schema materialization and validation (#240). For more info see the "Query Validation" section of documentation. Improvements include: