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

Remove custom logic for specialist document type #2918

Conversation

lauraghiorghisor-tw
Copy link
Contributor

@lauraghiorghisor-tw lauraghiorghisor-tw commented Oct 16, 2024

Since we need to use the allowed list anyway, we can remove the if-else check and allow the generator to populate the doc type list with all the allowed types, which makes it a bit more restrictive than just "string".

Related PR
Original trello card

Since we need to use the allowed list anyway, we can remove the if-else check
and allow the generator to populate the doc type list with all the allowed types,
which makes it a bit more restrictive than just "string".
@lauraghiorghisor-tw lauraghiorghisor-tw force-pushed the make-specialist-document-schema-more-restrictive-on-doc-type branch from aaff4b0 to 663c5b3 Compare October 16, 2024 12:01
@lauraghiorghisor-tw lauraghiorghisor-tw merged commit 6f8e7c4 into main Oct 16, 2024
38 checks passed
@lauraghiorghisor-tw lauraghiorghisor-tw deleted the make-specialist-document-schema-more-restrictive-on-doc-type branch October 16, 2024 12:03
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