Skip to content

Mae/us autocomplete v2#59

Merged
andyjohnsonsmarty merged 10 commits into
masterfrom
mae/us-autocomplete-v2
Jun 24, 2026
Merged

Mae/us autocomplete v2#59
andyjohnsonsmarty merged 10 commits into
masterfrom
mae/us-autocomplete-v2

Conversation

@mae-smarty

Copy link
Copy Markdown
Contributor
  • New US Autocomplete module: Lookup, Client, Suggestion (+ Result/serializer where applicable)
  • ClientBuilder method to build the client
  • Unit tests, plus an example demonstrating filtered lookups and secondary expansion (capture an entry_id, pass it back as selected)
  • Also fixes a latent bug in US Autocomplete Pro where prefer_city was declared but never sent in the request

mae-smarty and others added 2 commits June 15, 2026 16:06
The prefer_city field was declared on the Pro Lookup but never serialized
into the request parameters. Emit it as prefer_cities, matching the other SDKs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@timothy-smarty timothy-smarty left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks like there are merge conflicts with the Makefile

Comment thread smarty-rust-sdk/src/us_autocomplete_api/lookup.rs Outdated
Comment thread smarty-rust-sdk/src/us_autocomplete_api/suggestion.rs
@andyjohnsonsmarty andyjohnsonsmarty merged commit d451c42 into master Jun 24, 2026
2 checks passed
@andyjohnsonsmarty andyjohnsonsmarty deleted the mae/us-autocomplete-v2 branch June 24, 2026 19:06
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.

5 participants