- All pagination queries created with root_query, def_root and resolvers will have a 250 limit as default.
- New Queries will execute validations instead of after_initialize callback. Will accept initial parameters before run validations
- limit_max is removed from root_query. Now is 250
- By default, New Queries will be generated if Create Mutation is available. These queries will be useful for forms init. Default values will be based on methods applied using after_initialize callback on model.
{
newAdvisor {
name
advisor_status_id
demographic {
id
...
}
}
}
- Root queries filters with new filters: Operation IN: field included in array_values OR filter: add isOr: true to pass an OR statement (based on filter order passed) Comparison between columns: using column_value argument
- All list queries are now pagination based on queries (connection type)
- List queries with optional pagination based on queries (connection type)
query {
userPagination(filters:[UserQueryFilterInput]! , limit: Int, sortOrder: SortOrder, sortBy: SortBy, first: Int, after: String){
totalCount
cursors
pageInfo{ startCursor endCursor }
edges { cursor node{ id name } }
}
}
- FilterInput type naming change due to naming collision with resources
- Date Type issue fixed
- Multiplex queries correctly load dynamic types
- Root queries support field filters
query {
users(filters: [{ field: username, operation: LIKE, value: "gmail.com" }]) {
id
username
}
}
- UUID scalar supports nil input. This is related to a change introduced in graphql-ruby v1.10 in which
.coerce_input
is called on nil values.
- Fixed a problem with
::HQ::GraphQL::Comparator
not working correctly when comparing schema definitions
- Removed ::HQ::GraphQL::Types::Object. Use ::GraphQL::Types::JSON.
- Removed ::HQ::GraphQL::Schema::Enum. Use ::GraphQL::Schema::Enum.
- Removed ::HQ::GraphQL::Schema::InputObject. Use ::GraphQL::Schema::InputObject.
- Removed ::HQ::GraphQL::Schema::Mutation. Use ::GraphQL::Schema::Mutation.
- Removed ::HQ::GraphQL::Schema::Object. Use ::GraphQL::Schema::Object.
- Removed ::HQ::GraphQL::Schema. Use ::GraphQL::Schema.
- Supports graphql-ruby v1.12 and the ::GraphQL::Execution::Interpreter