(Translated by https://www.hiragana.jp/)
CRS validity check should query the database for a Station with matching crs value · Issue #11 · transiient/departr · GitHub
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

CRS validity check should query the database for a Station with matching crs value #11

Open
transiient opened this issue Mar 16, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@transiient
Copy link
Owner

This would require a Promise to be returned from the validity check, possibly resolving to the station itself, and rejecting to a 'not found' error.

@transiient transiient added enhancement New feature or request good first issue Good for newcomers labels Mar 16, 2020
@transiient transiient self-assigned this Mar 16, 2020
@transiient
Copy link
Owner Author

Possibly just use existing Station.fromCrs() instead, and return its error as a .status(404) if none found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant