Skip to content

Assay: support file field values for batch and run properties via importRun API#199

Merged
labkey-nicka merged 7 commits intodevelopfrom
fb_assay_batch_run_files
Aug 29, 2025
Merged

Assay: support file field values for batch and run properties via importRun API#199
labkey-nicka merged 7 commits intodevelopfrom
fb_assay_batch_run_files

Conversation

@labkey-nicka
Copy link
Copy Markdown
Contributor

@labkey-nicka labkey-nicka commented Aug 24, 2025

Rationale

In LabKey v25.9 the assay-importRun.api endpoint has been updated to support importing files directly for batch properties (batchProperties) and run properties (properties). This is the associated updates to the endpoint to wrapper to support serializing File instances directly into the form.

Related Pull Requests

Changes

  • Serialize File instances directly into the FormData for batchProperties and (run) properties.
  • Serialize objects and arrays via JSON.stringify() into the FormData for batchProperties and (run) properties. Formerly, this was only done for objects.
  • Add unit tests for serialization

@labkey-nicka labkey-nicka merged commit ea3ca77 into develop Aug 29, 2025
3 checks passed
@labkey-nicka labkey-nicka deleted the fb_assay_batch_run_files branch August 29, 2025 21:57
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