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

from() and fromNamed() should take an Object rather than a String #2358

Closed
Claudenw opened this issue Mar 18, 2024 · 0 comments · Fixed by #2359
Closed

from() and fromNamed() should take an Object rather than a String #2358

Claudenw opened this issue Mar 18, 2024 · 0 comments · Fixed by #2359
Assignees
Labels
enhancement Incrementally add new feature Query Builder Query Builder

Comments

@Claudenw
Copy link
Contributor

Version

5.x

Feature

Currently the QueryBuilder framework has both from() and fromNamed() methods that take a String argument. There are cases where another object (a Node object for instance) contains the name. To make the methods symmetric with the other methods that convert things to Nodes these methods should take Objects and attempt to convert them to Strings.

Are you interested in contributing a solution yourself?

Yes

@Claudenw Claudenw added the enhancement Incrementally add new feature label Mar 18, 2024
Claudenw added a commit to Claudenw/jena that referenced this issue Mar 18, 2024
@Claudenw Claudenw self-assigned this Mar 18, 2024
@afs afs added the Query Builder Query Builder label Mar 18, 2024
Claudenw added a commit to Claudenw/jena that referenced this issue Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Incrementally add new feature Query Builder Query Builder
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants