This repository has been archived by the owner on Jun 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
Wrap: Allow annotations parameter to accept specific fields #298
Comments
I'll hit this after the |
In order to not break the ABI here's what we have to do:
This is Javascript-land, we can do this by means of checking |
How should the API look like?
does this make sense? |
@chaupow I would suggest not allowing string values but only boolean and array of strings to keep the API surface small. |
So shall we accept Then, I will accept
I will not accept
? |
@chaupow exactly. |
merged #299 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The
annotations
parameter changed form abool
to specific annotation types.We need to wrap this in
node-osrm
, too.Upstream:
Tasks
node_osrm.cpp
adapt commentsnode_osrm_support.hpp
parse from Javascript-landdocs/api.md
Here's the entry point where we throw an exception currently.
cc @karenzshea
The text was updated successfully, but these errors were encountered: