[ 
https://issues.apache.org/jira/browse/TINKERPOP-2492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18140009#comment-18140009
 ] 

ASF GitHub Bot commented on TINKERPOP-2492:
-------------------------------------------

spmallette opened a new pull request, #3785:
URL: https://github.com/apache/tinkerpop/pull/3785

   https://issues.apache.org/jira/browse/TINKERPOP-2492
   
   Enums are now PascalCase objects (T, Order, Cardinality, Direction.OUT, ...) 
typed with exactly their members, statics is now __, and every public symbol, 
including GType, N, IO and the strategy classes, is a named export of the 
package. The lowercase names are removed. Translated Gremlin now runs with only 
an import line.
   




> Establish consistent naming principles for imports in gremlin-javascript
> ------------------------------------------------------------------------
>
>                 Key: TINKERPOP-2492
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2492
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: javascript, translator
>    Affects Versions: 3.4.9
>            Reporter: Stephen Mallette
>            Priority: Major
>
> Sometimes we alias enums and functions in gremlin-javascript to look like 
> gremlin-groovy. Other times we keep in gremlin-javascript style. We need to 
> establish a common expected look (presumably the correct way is to go with 
> Javascript idioms) so that the {{JavascriptTranslator}} can produce the 
> "right' output. Make sure all documentation is moved to whatever approach is 
> taken.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to