Skip to content

Allow anyOf and an open expansion of schema overlays ontop of 655 - #705

Open
raginpirate wants to merge 1 commit into
feat/request-constraintsfrom
raginpirate/open-655
Open

Allow anyOf and an open expansion of schema overlays ontop of 655#705
raginpirate wants to merge 1 commit into
feat/request-constraintsfrom
raginpirate/open-655

Conversation

@raginpirate

@raginpirate raginpirate commented Aug 10, 2026

Copy link
Copy Markdown
Member

Description

A small tweak over #655 which makes it extensible for payment handlers to drop-in schema expansions of ucp.request_constraints.

With this... I think we have a great final answer:
Shape example with payments: https://gist.github.com/raginpirate/29a5f929d6eb6d5686d6c081560e030b

Net:

│ │ #655 │ synthesis │
│ malformed declared keywords │ catches │ catches │
│ unrecognised keys │ rejects │ accepts — needs a lint
│ discrimination / branching. │ impossible │ native │
│ per-variant narrowing │ impossible │ native
│ handler domain keys │ impossible │ native
│ the #288 use case │ unsatisfiable │ works

@raginpirate
raginpirate requested a review from igrigorik August 10, 2026 18:28
@raginpirate raginpirate self-assigned this Aug 10, 2026
@damaz91 damaz91 added status:needs-triage Signal that the PR is ready for human triage status:under-review gov:needs-tc-review and removed status:needs-triage Signal that the PR is ready for human triage labels Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants