The VineJS validators in createMarker and updateMarker silently dropped fields not in their schema. The MapMarker model and DB include notes and marker_type, and GET responses return them, but POST and PATCH would not persist them. updateMarker additionally did not accept latitude/longitude, so markers could not be repositioned via the API after creation. - Add notes and marker_type to both validators and model assignments. - Add latitude/longitude to the update validator. - Add coordinate range validation on both endpoints. Closes #768 |
||
|---|---|---|
| .. | ||
| about.md | ||
| api-reference.md | ||
| community-add-ons.md | ||
| faq.md | ||
| getting-started.md | ||
| home.md | ||
| release-notes.md | ||
| use-cases.md | ||