Skip to content

Commit

Permalink
Update --gremlin-filters to block use of mutating steps mergeV() and …
Browse files Browse the repository at this point in the history
…mergeE()
  • Loading branch information
Cole-Greer committed Dec 6, 2023
1 parent 79a2278 commit e6dd439
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

### Bug Fixes:

- Update `--gremlin-filters` to block use of mutating steps `mergeV()` and `mergeE()`

### New Features and Improvements:

## Neptune Export v1.1.3 (Release Date: November 30, 2023):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class GremlinFilters {
private final String gremlinEdgeFilter;
private final boolean filterEdgesEarly;

private static final List<String> INVALID_OPERATORS = Arrays.asList("addV", "addE", "write", "drop", "sideEffect", "property");
private static final List<String> INVALID_OPERATORS = Arrays.asList("addV", "addE", "write", "drop", "sideEffect", "property", "mergeV", "mergeE");

public GremlinFilters(String gremlinFilter, String gremlinNodeFilter, String gremlinEdgeFilter, boolean filterEdgesEarly) {
this.gremlinFilter = gremlinFilter;
Expand Down

0 comments on commit e6dd439

Please sign in to comment.