Skip to content

Commit afe0cf4

Browse files
committed
Create sub-issue for issue #688: Implement OneOf Input Objects (Input Unions)
1 parent 58b43ee commit afe0cf4

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Implement OneOf Input Objects (Input Unions)
2+
3+
Implement support for OneOf input objects as specified in the September 2025 GraphQL spec.
4+
5+
**Reference:**
6+
- Parent issue: #688
7+
- Spec PR: https://github.com/graphql/graphql-spec/pull/825
8+
9+
**Description:**
10+
OneOf input objects, also known as 'input unions', allow exactly one field to be specified in an input object. This provides a way to model union-like behavior for input types.
11+
12+
**Implementation Requirements:**
13+
- [ ] Add OneOf directive support in schema parsing
14+
- [ ] Implement validation rules for OneOf input objects
15+
- [ ] Ensure exactly one field is provided in OneOf inputs
16+
- [ ] Add introspection support for OneOf
17+
- [ ] Update documentation and examples
18+
19+
**Related to:** Target Sep 2025 GraphQL spec implementation

0 commit comments

Comments
 (0)