Skip to content

Restrict clause fields to mapping allowances#3

Open
jd252387 wants to merge 1 commit into
codex/plan-graphql-api-for-solr-and-elasticsearchfrom
codex/iterate-mappings-to-build-clause-field-map
Open

Restrict clause fields to mapping allowances#3
jd252387 wants to merge 1 commit into
codex/plan-graphql-api-for-solr-and-elasticsearchfrom
codex/iterate-mappings-to-build-clause-field-map

Conversation

@jd252387

Copy link
Copy Markdown
Owner

Summary

  • derive clause-specific field enums from the mapping configuration and default to all clauses when none are specified
  • wire clause inputs to their dedicated enums, exposing them in the union only when fields remain valid
  • regenerate the GraphQL schema so the new enums surface and disallowed clause/field combinations disappear

Testing

  • pnpm build

https://chatgpt.com/codex/tasks/task_e_68e8fcc1ad34832ca291eb464b788f79

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant