brick_offline_first_with_graphql_build 4.0.0
brick_offline_first_with_graphql_build: ^4.0.0 copied to clipboard
Code generation library for the Brick Offline First Domain using GraphQL
Brick Offline First with GraphQL Build #
Code generator that provides (de)serializing functions for Brick adapters using GraphqlProvider and GraphqlProvider within the OfflineFirstWithRest domain. Classes annotated with ConnectOfflineFirstWithGraphql
and extending the model OfflineFirstWithGraphql
will be discovered.
Setup #
dart:mirrors
will conflict with Flutter, so this package should be imported as a dev dependency and executed before an app's run time.
dev_dependencies:
brick_offline_first_with_graphql_build:
git:
url: git@github.com:GetDutchie/brick.get
path: packages/brick_offline_first_with_graphql_build
copied to clipboard
Build your code:
cd my_app; (flutter) pub run build_runner build
copied to clipboard