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

refactor!: improve RON enum type system #3

Merged
merged 1 commit into from
Dec 23, 2024
Merged

refactor!: improve RON enum type system #3

merged 1 commit into from
Dec 23, 2024

Conversation

HeitorAugustoLN
Copy link
Owner

BREAKING CHANGE: Replace rawRonEnum with new ronEnum type using variant-based syntax

  • Add new RON enum type handling in generators.nix
  • Replace rawRonEnum with ronEnum type for better type safety
  • Add ronTupleEnum and ronTupleEnumOf types for tuple-based enums
  • Update cosmic-term and config files to use new enum syntax
  • Improve merge behavior for RON types
  • Update enum usage from {__type = "raw", value = "X"} to {__type = "enum", variant = "X"}

BREAKING CHANGE: Replace rawRonEnum with new ronEnum type using variant-based syntax

- Add new RON enum type handling in generators.nix
- Replace rawRonEnum with ronEnum type for better type safety
- Add ronTupleEnum and ronTupleEnumOf types for tuple-based enums
- Update cosmic-term and config files to use new enum syntax
- Improve merge behavior for RON types
- Update enum usage from `{__type = "raw", value = "X"}` to `{__type = "enum", variant = "X"}`
@HeitorAugustoLN HeitorAugustoLN merged commit d88ddee into main Dec 23, 2024
2 checks passed
@HeitorAugustoLN HeitorAugustoLN deleted the enums branch December 23, 2024 13:40
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