Skip to content

Conversation

@jansigi
Copy link
Collaborator

@jansigi jansigi commented Nov 5, 2025

No description provided.

@jansigi jansigi requested a review from pgruntz November 5, 2025 09:57
@jansigi jansigi self-assigned this Nov 5, 2025
@jansigi
Copy link
Collaborator Author

jansigi commented Nov 18, 2025

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 388 to 391
val queryString = typeExpression.toFunctionQueryString(
SearchFunctionType.SEARCH.type,
SearchFunctionType.SEARCH.queryString,
field?.queryString,
bucket?.queryString,

Choose a reason for hiding this comment

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

P0 Badge Replace nonexistent SearchFunctionType.queryString

SearchFunctionType no longer exposes a type or other string property, yet the resolver still calls SearchFunctionType.SEARCH.queryString when building the function call. Because the enum only defines the three constants, this reference will not compile and the module fails to build. Use the enum name (e.g. SearchFunctionType.SEARCH.name) or an explicit mapping when creating the query string.

Useful? React with 👍 / 👎.

Comment on lines +373 to +377
is CustomTokenOptions -> {
val map = listOfNotNull(
"name" to resolvable.name,
resolvable.case?.let { "case" to "\"${it.queryString}\"" },
"specials" to resolvable.specials,

Choose a reason for hiding this comment

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

P0 Badge TokenCases lacks queryString used in CustomTokenOptions

The new TokenCases enum is bare, but the Couchbase resolver still emits resolvable.case?.let { "case" to "\"${it.queryString}\"" }. Since TokenCases does not define queryString, this code will not compile. The case value should be derived from the enum’s name (e.g. it.name) or by adding the missing property.

Useful? React with 👍 / 👎.

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.

2 participants