Skip to content

Add support for context URL option#73

Draft
kd-zero wants to merge 2 commits intomainfrom
cm/issue-63-context-url-option
Draft

Add support for context URL option#73
kd-zero wants to merge 2 commits intomainfrom
cm/issue-63-context-url-option

Conversation

@kd-zero
Copy link
Contributor

@kd-zero kd-zero commented Mar 6, 2026

Summary

  • add context: support to Fulfil::Client#search and Fulfil::Client#count
  • serialize hash context values to JSON and append them as URL query params
  • pass context: through Fulfil::Model#search and Fulfil::Model#count
  • add client tests for context query support
  • document the option in README and changelog

Closes #63

Testing

  • bundle exec ruby -Itest test/fulfil/client_test.rb test/fulfil/model_test.rb
  • bundle exec rubocop lib/fulfil/client.rb lib/fulfil/model.rb test/fulfil/client_test.rb

kd-zero added 2 commits March 6, 2026 11:21
Replace splatted keyword forwarding with explicit search params and add tests to enforce accepted keywords.
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

Successfully merging this pull request may close these issues.

Support the context url option

1 participant