Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing issue #14 #15

Merged
merged 4 commits into from
Dec 6, 2012
Merged

Fixing issue #14 #15

merged 4 commits into from
Dec 6, 2012

Conversation

ractive
Copy link
Contributor

@ractive ractive commented Dec 6, 2012

Fixing the two bugs described in #14

  • adding a space after the ! operator
  • Using ' as regex separator
  • Actually executing the cypher queries
  • RELATE removed
  • Fixing some minor stuff

- Actually executing the generated cypher queries in CypherReferenceTest.java to make sure they also compile
- Fixing the handling of the ! operators. The generated query must have a space after the ! "WHERE n.prop! = "foo" because cypher fails when != is used as an operator
@jexp
Copy link
Member

jexp commented Dec 6, 2012

There was already a PR covering many of your issues, I merged that in first. Can you check if that's covering the issues you encountered? Thanks a lot !

@ractive
Copy link
Contributor Author

ractive commented Dec 6, 2012

I'll check... But anyway. The unit tests really should execute the cypher statements instead of just comparing them to hardcoded strings. Otherwise you'll never know if they are valid at all... ;-)

Maybe it would make sense to merge tbaum's pull request on top of mine...

Conflicts:
	src/main/java/org/neo4j/cypherdsl/Literal.java
	src/main/java/org/neo4j/cypherdsl/query/NullHandling.java
	src/main/java/org/neo4j/cypherdsl/query/clause/LimitParameterClause.java
	src/test/java/org/neo4j/cypherdsl/CypherCookbookTest.java
	src/test/java/org/neo4j/cypherdsl/CypherQueryTest.java
	src/test/java/org/neo4j/cypherdsl/CypherReferenceTest.java
@ractive
Copy link
Contributor Author

ractive commented Dec 6, 2012

I merged pull request #13 into my pull request. Can you merge it this way?

jexp added a commit that referenced this pull request Dec 6, 2012
@jexp jexp merged commit 3829a4e into neo4j:master Dec 6, 2012
@jexp
Copy link
Member

jexp commented Dec 6, 2012

Done, thanks a lot.

@jexp
Copy link
Member

jexp commented Dec 6, 2012

Can you re-add the create unique support, after all it is just a name change.

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