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

JQL - new withVersion() filter #322

Closed
bartoszwalacik opened this issue Jan 26, 2016 · 5 comments
Closed

JQL - new withVersion() filter #322

bartoszwalacik opened this issue Jan 26, 2016 · 5 comments
Assignees
Labels

Comments

@bartoszwalacik
Copy link
Member

new filter for snapshot queries:

javers.findSnapshots( QueryBuilder.byInstanceId("bob", Employee.class).withVersion(5).build() )

withVersion() should work simmilary to withCommitId() filter

requested by:
@atomfrede
@milanov

@bartoszwalacik
Copy link
Member Author

It could be implemented in the same way like commitId filter done by @mwesolowski
see https://github.com/javers/javers/pull/318/files

mwesolowski added a commit to mwesolowski/javers that referenced this issue Jan 26, 2016
mwesolowski added a commit to mwesolowski/javers that referenced this issue Jan 26, 2016
@bartoszwalacik
Copy link
Member Author

@milanov, looks like @mwesolowski already did it :)

@atomfrede
Copy link

@bartoszwalacik @mwesolowski Wow, that was fast! Impressive!

bartoszwalacik added a commit that referenced this issue Jan 28, 2016
#322 JQL - snapshot version filter
@bartoszwalacik bartoszwalacik self-assigned this Jan 28, 2016
@bartoszwalacik
Copy link
Member Author

released in v. 1.4.7
see http://javers.org/documentation/jql-examples/#version-filter

@bartoszwalacik
Copy link
Member Author

@atomfrede check out new withVersion() filter, does it solve your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants