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

update docs to have system prefix in select() examples #14

Open
rblumer4 opened this issue Oct 31, 2019 · 0 comments
Open

update docs to have system prefix in select() examples #14

rblumer4 opened this issue Oct 31, 2019 · 0 comments

Comments

@rblumer4
Copy link
Contributor

rblumer4 commented Oct 31, 2019

To do a SELECT on system types (and other system resources), you have to prefix the name with "system.", e.g.

  • select("system.types", ....)

This was changed in the server a year or more ago, and fixed in the Java SDK tests 3 months ago.
But not in the docs api.md and README.md
One of the examples of deleteOne() requires "system.types", too.

Note that some interfaces still require just "types", like publish() and subscribe()
And the examples use the SystemResource enum in both places, but that will no longer work.

So also need to fix all the examples that will no longer work with SystemResources.XX.value()
OR make a SystemResource object that encapsulates both the short-name or long-name and update the examples to use that...

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

No branches or pull requests

1 participant