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 get Seq[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 and Long 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)