Skip to content

Removing '_' from from GraphTraversal Method#1208

Closed
ktstowell wants to merge 1 commit into
apache:masterfrom
continuum-studios:master
Closed

Removing '_' from from GraphTraversal Method#1208
ktstowell wants to merge 1 commit into
apache:masterfrom
continuum-studios:master

Conversation

@ktstowell
Copy link
Copy Markdown

Removing '_' from from GraphTraversal Method method to match documentation (http://tinkerpop.apache.org/docs/current/reference/#addedge-step - please notice step "7" api example.)

  • Would require Major version bump due to breakages in backwards compatibility.
  • Could be a patch if we left from_ unaltered, and added from which proxied the same thing.

This is largely just to start a conversation so that code can be referenced in a issue.

Removing '_' from `from` GraphTraversal Method method to match documentation.

- Would require Major version bump due to breakages in backwards compatibility.
- Could be a patch if we left `from_` unaltered, and added `from` which proxied the same thing.
@spmallette
Copy link
Copy Markdown
Contributor

Hi, as I understood it, the idea is to futureproof from as a reserved word in JS as described here:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import

note that we do mention the underscore for JS in from() documentation:

http://tinkerpop.apache.org/docs/current/reference/#from-step

@ktstowell
Copy link
Copy Markdown
Author

Awesome! Thanks for clearing that up!

@ktstowell ktstowell closed this Oct 7, 2019
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.

2 participants