ql_gen 0.1.8
ql_gen: ^0.1.8 copied to clipboard
Generate strongly typed Dart GraphQL client helpers from schema files, including models, selectors, and operation builders for queries and mutations.
0.1.8 #
- Add
schema_pathandoutput_pathbuilder options inbuild.yaml:schema_path: specify a custom schema file path (relative to package root)output_path: specify a custom output directory (trailing/) or file path- Both options are optional; default behavior is unchanged.
0.1.7 #
- Add
build_runnersupport:.graphqland.gqlfiles are now automatically compiled to Dart when runningdart run build_runner build. - Add
ApiGenerator.fromContent(String content)constructor for in-memory schema input. - Add
build.yamlbuilder registration withauto_apply: dependents. - Add
buildpackage as a dependency.
0.1.6 #
- Fixed issue where non-nullable list return types would crash with
TypeErrorwhen executor returns null.- Changed
as Listcast toas List?to safely handle null transport errors. - Added
?? []fallback for non-nullable lists to satisfy schema contract. - Added static test coverage for
[Item!]!return type.
- Changed
0.1.5 #
- Improve README with practical installation, usage, and generation workflow docs.
- Upgrade
tokenizer_parserdependency to^0.1.2. - Add API documentation comments and clean analyzer issues.
- Add tests for utility helpers and schema file reader behavior.
0.1.4 #
- Bump dependecy versions
0.1.3 #
- Implemented feature #3, Make parameters of a query/mutation/subscription named parameters instead of positional parameters.
0.1.2 #
0.1.1 #
- Fixed missing
!inListtype. - Documentation improvements.
0.1.0 #
- Initial version.