comigor / artemis

Build dart types from GraphQL schemas and queries
MIT License
495 stars 119 forks source link

Upgrade packages #351

Closed fryette closed 3 years ago

fryette commented 3 years ago

Could you please upgrade json_annotation and json_serializable versions to the latest?

vasilich6107 commented 3 years ago

No luck

Because source_gen >=1.1.0 depends on analyzer ^2.1.0 and gql_code_builder >=0.2.0-alpha+1621196644774 depends on analyzer ^1.2.0, source_gen >=1.1.0 is incompatible with gql_code_builder >=0.2.0-alpha+1621196644774.
So, because artemis depends on both gql_code_builder ^0.2.0 and source_gen ^1.1.0, version solving failed.
mdrideout commented 3 years ago

For the short term, the dependency override for analyzer is working fine for me.

dependency_overrides:
  analyzer: ^2.1.0
vasilich6107 commented 3 years ago

Pub dev does not allow to publish with deps overrides

vasilich6107 commented 3 years ago

@fryette I did the PR https://github.com/gql-dart/gql/pull/268

vasilich6107 commented 3 years ago

@fryette my pr was merged but there was an issue with auto release) Waiting while they will fix it. Check comments under PR

fryette commented 3 years ago

Great! Thanks, will wait

vasilich6107 commented 3 years ago

@fryette this is nightmare to get support from gql team... They merged my PR but failed the release. And now no one knows what to do... I released temp gql_code_builder2 to update the packages) Have fun