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 list option type to list in Changelog, News, Planet, and Workshop #2042

Merged
merged 11 commits into from
Feb 13, 2024

Conversation

egmaleta
Copy link
Contributor

@egmaleta egmaleta commented Feb 9, 2024

Removed option from type of fields:

  • Changelog.t.authors
  • News.t.authors
  • Planet.t.authors
  • Workshop.presentations.additional_links

This and #2039 might close #1970.

@egmaleta egmaleta changed the title Replace list option by list in remaining task of #1970 Replace list option by list in remaining tasks of #1970 Feb 10, 2024
@sabine sabine changed the title Replace list option by list in remaining tasks of #1970 (ood-gen) Adjust type of fields with list option type to list in remaining tasks of #1970 Feb 12, 2024
tool/ood-gen/lib/workshop.ml Outdated Show resolved Hide resolved
tool/ood-gen/lib/news.ml Show resolved Hide resolved
tool/ood-gen/lib/changelog.ml Show resolved Hide resolved
tool/ood-gen/lib/workshop.ml Outdated Show resolved Hide resolved
tool/ood-gen/lib/news.ml Outdated Show resolved Hide resolved
tool/ood-gen/lib/changelog.ml Outdated Show resolved Hide resolved
tool/ood-gen/lib/changelog.ml Outdated Show resolved Hide resolved
src/ocamlorg_frontend/pages/blog_post.eml Outdated Show resolved Hide resolved
tool/ood-gen/lib/workshop.ml Outdated Show resolved Hide resolved
@egmaleta
Copy link
Contributor Author

I am sorry i marked the requested changes as resolved before I actually resolve them, my bad.

Regarding the task in workshop.ml, what can be done there instead of using an additional presentation type with option type removed from fields and a transformation function to create the records with this new type?

Copy link
Collaborator

@cuihtlauac cuihtlauac left a comment

Choose a reason for hiding this comment

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

This looks good to me. Thanks @egmaleta

@sabine sabine changed the title (ood-gen) Adjust type of fields with list option type to list in remaining tasks of #1970 (ood-gen) Adjust type of fields with list option type to list in Changelog, News, Planet, and Workshop Feb 13, 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 d662834 into ocaml:main Feb 13, 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.

Replace list option by list in data
3 participants