Skip to content

Support validation of collection params with record types#7025

Open
bentsherman wants to merge 3 commits intomasterfrom
record-collection-params
Open

Support validation of collection params with record types#7025
bentsherman wants to merge 3 commits intomasterfrom
record-collection-params

Conversation

@bentsherman
Copy link
Copy Markdown
Member

This PR extends the support for loading a collection-type param from a CSV/JSON/YAML file to also validate and convert against a record type when used.

Notable changes:

  • Add ADR for workflow params (with appendix on runtime type analysis)
  • Compile params block as a hidden class to preserve runtime type information
  • Validate and convert collection elements against record type when specified
  • Add custom @Nullable annotation to model nullable record fields at runtime
  • Extend Types helper class to render parameterized types

Signed-off-by: Ben Sherman <bentshermann@gmail.com>
@bentsherman bentsherman requested a review from jorgee April 10, 2026 21:39
@bentsherman bentsherman requested a review from a team as a code owner April 10, 2026 21:39
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 10, 2026

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 6438612
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/69da88adb9842a0008e2c08f

Signed-off-by: Ben Sherman <bentshermann@gmail.com>
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
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