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

Add Vault Query Over RPC Docs #6897

Open
opticyclic opened this issue Apr 18, 2021 · 1 comment
Open

Add Vault Query Over RPC Docs #6897

opticyclic opened this issue Apr 18, 2021 · 1 comment
Labels

Comments

@opticyclic
Copy link
Contributor

opticyclic commented Apr 18, 2021

The Vault Query docs all refer to doing queries in tests:
https://docs.corda.net/docs/corda-os/4.7/api-vault-query.html#example-usage---java

The same queries don't seem to work the same over RPC.
e.g.

QueryCriteria generalCriteria = new VaultQueryCriteria(Vault.StateStatus.ALL);

gets changed to

QueryCriteria generalCriteria = new QueryCriteria.VaultQueryCriteria(Vault.StateStatus.ALL);

Which then gets highlighted as an error in IDEA

Required type: QueryCriteria. Provided: VaultQueryCriteria

@opticyclic opticyclic changed the title Linear Pointers Are Not Available Over RPC Add Vault Query Over RPC Docs Apr 20, 2021
@nargas-ritu
Copy link
Contributor

nargas-ritu commented Jan 25, 2022

Created CORDA-4186 for review

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