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

Feature: more robust dart codegen #64

Merged
merged 14 commits into from
Jun 12, 2024
Merged

Conversation

joshmossas
Copy link
Member

Generated dart models now have the following features

  • overrides == operator and hashCode to enable deep equality checking. Ex: MyObject == MyOtherObject will check against all the properties in both objects
  • override toString() to show each of the object propeties rather than Instance of MyObject
  • add toJsonString() method
  • add fromJsonString() factory method

Other Changes (All Languages)

  • remove onConnectionError from sse stuff. Connection errors now trigger onError. pushError now removed from sse server library stuff

Copy link

nx-cloud bot commented Jun 12, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 6847f07. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 7 targets

Sent with 💌 from NxCloud.

@joshmossas joshmossas merged commit c0951fd into master Jun 12, 2024
4 checks passed
@joshmossas joshmossas deleted the feature/dart-codegen-v2 branch June 12, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant