Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: issue with JSON conversion of packagings data #762

Merged
merged 3 commits into from
Jul 19, 2023

Conversation

peterwvj
Copy link
Collaborator

Fixes #752

After adding the proposed fix, I did run into some issues regenerating the *.g.dart files using build_runner but I managed to fix that by upgrading the SDK dependencies according to the instructions described here.

test/issue752_test.dart Outdated Show resolved Hide resolved
lib/src/model/product.dart Outdated Show resolved Hide resolved
Copy link
Contributor

@monsieurtanuki monsieurtanuki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @peterwvj!
The code itself looks good, but you removed important ignore statements in generated files. Please put them back so that the code analyze works.
And consider my other comments ;)

lib/src/model/product.g.dart Outdated Show resolved Hide resolved
lib/src/model/product_result.g.dart Outdated Show resolved Hide resolved
lib/src/utils/json_helper.dart Outdated Show resolved Hide resolved
test/issue752_test.dart Outdated Show resolved Hide resolved
test/issue752_test.dart Outdated Show resolved Hide resolved
pubspec.yaml Outdated Show resolved Hide resolved
@peterwvj
Copy link
Collaborator Author

@monsieurtanuki thank you for your great PR feedback. I've implemented all of your suggestions in commit df353be

Copy link
Contributor

@monsieurtanuki monsieurtanuki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @peterwvj for this PR and the changes after my review!

@monsieurtanuki monsieurtanuki merged commit 01c1d7b into master Jul 19, 2023
2 of 4 checks passed
@monsieurtanuki monsieurtanuki deleted the peterwvj/issue-752 branch July 19, 2023 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Product.dart does not convert packagings correctly to JSON
3 participants