Validate queries before execution

Bug #737069 reported by Brian Topping
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
Medium
Timo Westkämper

Bug Description

A big lightbulb of an improvement that I just realized would be helpful during development would be to parse the graph of Paths and make sure they are connected. I'm forgetting the specific algorithm to use to do this, and even though it's not terribly expensive, it might be something that could be disabled for production.

In general, having a query preflight for development would be very helpful for new users who haven't learned everything they ought to know about QueryDSL yet. If it helped considerably increase adoption, it might be worth the effort here.

Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

Can you elaborate on this? What do you mean with query preflight, a guide on how to construct queries?

Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

Maybe the issue title could be renamed to "Validate queries before execution"?

summary: - Query preflight module for development
+ Validate queries before execution
Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

I just commited some basic validation logic. Could you verify that it works for you?

Changed in querydsl:
assignee: nobody → Timo Westkämper (timo-westkamper)
importance: Undecided → Medium
status: New → In Progress
Changed in querydsl:
status: In Progress → Fix Committed
Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

Released in 2.2.0-beta4

Changed in querydsl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.