Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Input Field Types mergeable validation rule #45

Closed
wants to merge 9 commits into from

Conversation

michaelstaib
Copy link
Member

No description provided.

spec/Section 4 -- Composition.md Outdated Show resolved Hide resolved
spec/Section 4 -- Composition.md Outdated Show resolved Hide resolved
spec/Section 4 -- Composition.md Outdated Show resolved Hide resolved
}
```

Fields are also consodered mergable if they have different nullability defined
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Fields are also consodered mergable if they have different nullability defined
Fields are also considered mergeable if they have different nullability defined.

```

Fields are also consodered mergable if they have different nullability defined
across Here, the field `tags` in `Input1` is a list type with compatible inner
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
across Here, the field `tags` in `Input1` is a list type with compatible inner
Here, the field `tags` in `Input1` is a list type with compatible inner

```

In this counter-example, the field `field` in `Input1` has incompatible types
(`String` and `DateTime`), making them not mergeable:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
(`String` and `DateTime`), making them not mergeable:
(`String` and `DateTime`), making them non-mergeable:

@michaelstaib
Copy link
Member Author

We need to explain how the nullability merges ...

PascalSenn added a commit that referenced this pull request Dec 31, 2024
@PascalSenn
Copy link
Contributor

Closed by #93

@PascalSenn PascalSenn closed this Dec 31, 2024
michaelstaib added a commit that referenced this pull request Dec 31, 2024
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.

3 participants