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: nullable merge expressions and updates debug properties #392

Merged
merged 12 commits into from
Jul 23, 2024

Conversation

oscarspalk
Copy link
Contributor

Related issue

Yeah, it fixes issue 390

Description

Sometimes the generator would forget to add ?. when an expression can evaluate to null, so now it appends nullable all the time. I don't know what the performance considerations are of this, but it works.
And when registrering the debug properties the old way was outdated.

Changes

  • merge method changed
  • fillDebugProperties method changed

Review Checklist

  • Testing: Have you tested your changes, including unit tests and integration tests for affected code?
  • Breaking Changes: Does this change introduce breaking changes affecting existing code or users?
  • Documentation Updates: Are all relevant documentation files (e.g. README, API docs) updated to reflect the changes in this PR?
  • Website Updates: Is the website containing the updates you make on documentation?

Copy link

vercel bot commented Jul 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
mix-docs ⬜️ Ignored (Inspect) Visit Preview Jul 23, 2024 4:43pm

@leoafarias leoafarias changed the title Fix nullable merge expressions and updates debug properties fix: nullable merge expressions and updates debug properties Jul 23, 2024
Copy link
Contributor

github-actions bot commented Jul 23, 2024

DCM report

✅ no issues found!

Full report: https://github.com/conceptadev/mix/runs/27816723848

@tilucasoli tilucasoli merged commit 3569a36 into conceptadev:main Jul 23, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mix_generator 0.2.1 generates bad code
2 participants