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

Fix missing query string params in sparqlconnector when using POST method #2180

Conversation

davidandreoletti
Copy link
Contributor

Summary of changes

The SPARQLConnector instance created by a SPARQLStore instance providing endpoint url + query string params using POST method did not append the query string to endpoint url.

This PR fixes this.

Backward compatible: yes.

  • Checked that there aren't other open pull requests for
    the same change.
  • Added tests for any changes that have a runtime impact.
  • Checked that all tests and type checking passes.

Copy link
Member

@aucampia aucampia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR @davidandreoletti. I updated your code slightly to cover the edge case where default-graph-uri is set, and I also changed your test to a parameterized test which checks for this case.

I also made some other slight and mostly cosmetic changes to the test.

@aucampia
Copy link
Member

I will merge tomorrow if there is no further feedback.

@aucampia aucampia requested a review from a team December 30, 2022 17:35
@aucampia aucampia added ready to merge The PR will be merged soon if no further feedback is provided. review wanted This indicates that the PR is ready for review labels Dec 30, 2022
@coveralls
Copy link

Coverage Status

Coverage: 90.645% (+0.02%) from 90.62% when pulling ad69043 on davidandreoletti:fix-missing-query-string-params-in-sparqlconnector into d803ec3 on RDFLib:main.

@aucampia aucampia merged commit 9b778b3 into RDFLib:main Jan 2, 2023
@davidandreoletti
Copy link
Contributor Author

I will merge tomorrow if there is no further feedback.

Sounds good. Thanks.

@davidandreoletti davidandreoletti deleted the fix-missing-query-string-params-in-sparqlconnector branch February 5, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge The PR will be merged soon if no further feedback is provided. review wanted This indicates that the PR is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants