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

feat(api): Resolve dynamic metadata at read instead of write #2829

Merged
merged 1 commit into from
Jun 15, 2023

Conversation

nellh
Copy link
Contributor

@nellh nellh commented Jun 14, 2023

Dataset metadata fields are currently written to the MongoDB Metadata model and not updated until the next time metadata is modified by a dataset admin. This can lead to stale data for any derived fields (those related to OpenNeuro or validator data). This change now always queries the dynamic fields when they are read.

See also #2814

@nellh nellh force-pushed the feature/metadata-query-time branch from 8b57e4f to c0a25eb Compare June 15, 2023 14:05
@nellh nellh merged commit b49c712 into master Jun 15, 2023
@nellh nellh deleted the feature/metadata-query-time branch June 15, 2023 19:36
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