Skip to content

fix: support .from() alias on keyword and facet field types#51

Merged
CahidArda merged 1 commit intomasterfrom
DX-2499-support-from
Mar 12, 2026
Merged

fix: support .from() alias on keyword and facet field types#51
CahidArda merged 1 commit intomasterfrom
DX-2499-support-from

Conversation

@ytkimirti
Copy link
Copy Markdown
Collaborator

@ytkimirti ytkimirti commented Mar 12, 2026

Summary

  • Added .from() support in the schema parser for s.keyword() and s.facet() field types
  • Updated type definitions to include from?: string on KeywordField and FacetField types
  • Updated KeywordFieldBuilder and FacetFieldBuilder in generated schema type definitions to support .from() chaining

@linear
Copy link
Copy Markdown

linear Bot commented Mar 12, 2026

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-redis-browser Ready Ready Preview, Comment Mar 12, 2026 9:37am

Request Review

… editor

The schema editor was not supporting .from() on keyword() and facet()
field types, causing alias information to be lost on schema reload for
those field types.
@CahidArda CahidArda merged commit 4405be6 into master Mar 12, 2026
4 checks passed
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