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

(ood-gen) Adjust type of fields with bool option type to bool in Release #2055

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

egmaleta
Copy link
Contributor

@egmaleta egmaleta commented Feb 13, 2024

Solves task no. 2 of #2051, for now.

In planet.ml (task no. 1) there is nothing to do because all fields with type bool option belong to metadata-like types (I am including here External.Source.t)

In workshop.ml (task no. 3) I can adjust the type of Workshop.presentation.poster but the solution might not improve the code as well. IMO the only way to handle the fields of Workshop.presentation with option type is by creating another type from it, and use the latter in Workshop.t.presentations instead, only this time I would use ppx_stable and rename presentation to presentation_metadata or something more readable.

@sabine sabine changed the title (ood-gen) Adjust type of fields with bool option type to bool in Release, Planet and Workshop (ood-gen) Adjust type of fields with bool option type to bool in Release Feb 16, 2024
Copy link
Collaborator

@sabine sabine left a comment

Choose a reason for hiding this comment

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

Thanks @egmaleta! ✨ Merging!

@sabine sabine merged commit 853c3fd into ocaml:main Feb 16, 2024
3 checks passed
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.

2 participants