brick_offline_first_with_graphql_build 3.1.0 copy "brick_offline_first_with_graphql_build: ^3.1.0" to clipboard
brick_offline_first_with_graphql_build: ^3.1.0 copied to clipboard

Code generation library for the Brick Offline First Domain using GraphQL

Unreleased #

3.1.0 #

  • Soft breaking change: Rename build.yaml builder keys from camelCase to snake_case (e.g. brickAggregateBuilder becomes brick_aggregate_builder). This shouldn't affect implementations because these builders do not support configuration, but some implementations may use runs_before. For these implementations, please rename all configured builders from this package.
  • Update build.yaml to support Dart 3 (#343 #344)
  • Add brick_new_migration_builder (separated from brick_schema_builder)

3.0.1 #

  • Support Dart 3

3.0.0 #

  • Remove brick_sqlite_abstract dependency
  • Remove brick_offline_first_abstract dependency
  • Remove brick_offline_first_with_graphql_abstract dependency
  • Update import paths

1.3.1 #

  • Merge brickSchemaBuilder into brickNewMigrationBuilder and rename to brickSchemaBuilder to ensure the schema is compiled before the migration. runs_before was not working, perhaps because of the combination with combining_builder

1.3.0 #

  • Upgrade analyzer to version 4
  • Generate RuntimeGraphqlDefinitions#subfields as Map<String, Map<String, dynamic>> to support nested properties of JSON-encoded fields.
  • Apply @OfflineFirst(where:) params to GraphQL document configuration. Note that the current implementation ignores multiple where properties (OfflineFirst(where: {'id': 'data["id"]', 'otherVar': 'data["otherVar"]'})) and nested values (OfflineFirst(where: {'id': 'data["subfield"]["id"]})).
  • Support brick_graphql v2

1.2.0+1 #

  • Fix migration and model discovery

1.2.0 #

  • Permit using part and part of files outside of models

1.1.1 #

  • Loosen dependency restrictions to major versions

1.1.0 #

  • Stable release

1.0.2 #

  • Enforce brick_build version 2.0.0-rc.2

1.0.1 #

  • Support brick_offline_first_with_graphql_abstract