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

Updates to solar eclipse endpoint #104

Merged
merged 10 commits into from
Mar 8, 2024

Conversation

Carifio24
Copy link
Member

@Carifio24 Carifio24 commented Mar 8, 2024

This PR updates the solar eclipse endpoints so that we can collect the information specified in cosmicds/solar-eclipse-2024#51 (comment). The idea here is to use more of an update-based system - in particular, values and lists of locations passed into the PATCH endpoint are seen as modifications to the existing values and are added/appended to what's already in the database.

This PR also updates the solar eclipse endpoints to use effect for data validation, which is something that we should both do going forward and apply to existing endpoints.

@Carifio24 Carifio24 merged commit eb15117 into cosmicds:main Mar 8, 2024
1 check 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.

1 participant