Closed jerel closed 3 years ago
Impressive, let me have a look!
Not sure why we don't see the result of the CI (which we definitely need). Perhaps try to rebase?
@matbd thanks for the feedback, I believe I've addressed all points.
Not sure why we don't see the result of the CI (which we definitely need). Perhaps try to rebase?
For future reference, I had to sign in to CircleCI for the CI to run. Apparently for PRs it uses the pull requester's account and not the organization's.
@matbd is anything further needed before this can be merged and released? I'm ready on my side.
Alright, I just managed to test things locally, and will make a release shortly. I'm also going to fix some clippy warnings that CI did not report for some reasons.
@jerel It seems that I missed a few issues and landed the PR a bit too early. Would you be able to send me a follow-up PR to add at least a simple runtime test like the one in typescript? https://github.com/novifinancial/serde-reflection/blob/main/serde-generate/tests/typescript_runtime.rs
Also it looks like the CI is not quite stable yet?
@matbd yep, I'll take a look
Much appreciated. Thanks
Summary
This PR brings #57 up to date with the latest code on main and also adds a number of fixes and improvements. As we have a project based on serde-reflection we have motivation to keep the Dart implementation current.
Generated Dart code follows the official Effective Dart guide and CI requires generated code to pass
dart analyze
as well asdart test
.Test Plan
The following usage should produce a working Dart project: