feat(specs): add fields for metadata in composition injectedItems#5241
Merged
feat(specs): add fields for metadata in composition injectedItems#5241
Conversation
Collaborator
✔️ Code generated!
📊 Benchmark resultsBenchmarks performed on the method using a mock server, the results might not reflect the real-world performance.
|
shortcuts
reviewed
Aug 14, 2025
| description: An object that contains the extra key-value pairs provided in the injectedItem definition. | ||
| additionalProperties: true | ||
| properties: | ||
| _injectedItemKey: |
Member
There was a problem hiding this comment.
is the _ to indicate some private fields? could be worth adding it to the description if so
Contributor
Author
There was a problem hiding this comment.
It's not meant to be private. I believe we included the _ prefix because every other KV pair in the object is defined by the user, but we conditionally inject this field into the object
070993d to
8e3f4bb
Compare
algolia-bot
added a commit
to algolia/algoliasearch-client-csharp
that referenced
this pull request
Aug 14, 2025
…nerated) algolia/api-clients-automation#5241 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Gavin Wade <gavin.wade12@gmail.com>
algolia-bot
added a commit
to algolia/algoliasearch-client-dart
that referenced
this pull request
Aug 14, 2025
…nerated) algolia/api-clients-automation#5241 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Gavin Wade <gavin.wade12@gmail.com>
algolia-bot
added a commit
to algolia/algoliasearch-client-go
that referenced
this pull request
Aug 14, 2025
…nerated) algolia/api-clients-automation#5241 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Gavin Wade <gavin.wade12@gmail.com>
algolia-bot
added a commit
to algolia/algoliasearch-client-java
that referenced
this pull request
Aug 14, 2025
…nerated) algolia/api-clients-automation#5241 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Gavin Wade <gavin.wade12@gmail.com>
algolia-bot
added a commit
to algolia/algoliasearch-client-javascript
that referenced
this pull request
Aug 14, 2025
…nerated) algolia/api-clients-automation#5241 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Gavin Wade <gavin.wade12@gmail.com>
algolia-bot
added a commit
to algolia/algoliasearch-client-kotlin
that referenced
this pull request
Aug 14, 2025
…nerated) algolia/api-clients-automation#5241 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Gavin Wade <gavin.wade12@gmail.com>
algolia-bot
added a commit
to algolia/algoliasearch-client-php
that referenced
this pull request
Aug 14, 2025
…nerated) algolia/api-clients-automation#5241 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Gavin Wade <gavin.wade12@gmail.com>
algolia-bot
added a commit
to algolia/algoliasearch-client-python
that referenced
this pull request
Aug 14, 2025
…nerated) algolia/api-clients-automation#5241 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Gavin Wade <gavin.wade12@gmail.com>
algolia-bot
added a commit
to algolia/algoliasearch-client-ruby
that referenced
this pull request
Aug 14, 2025
…nerated) algolia/api-clients-automation#5241 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Gavin Wade <gavin.wade12@gmail.com>
algolia-bot
added a commit
to algolia/algoliasearch-client-scala
that referenced
this pull request
Aug 14, 2025
…nerated) algolia/api-clients-automation#5241 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Gavin Wade <gavin.wade12@gmail.com>
algolia-bot
added a commit
to algolia/algoliasearch-client-swift
that referenced
this pull request
Aug 14, 2025
…nerated) algolia/api-clients-automation#5241 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Gavin Wade <gavin.wade12@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🧭 What and Why
🎟 JIRA Ticket: CMP-485
Add support for the new
metadatafield oninjectedItemsand the corresponding_extrafield on eachhit.Changes included:
metadataproperty toinjectedItemshitsproperty. You can see the full details here._extraproperty tohitinjectedItems+ an optional_injectedItemKeyproperty🧪 Test