You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We already have some descriptions about why a breaking change is a breaking change. E.g. here in a schema version:
Some Hive users were confused about removing a union member being a breaking change.
Quick question about breaking change detection in Hive. I’ve removed an element from a union, no clients are currently requesting any fields on that type, but it shows as a breaking change. Is this expected?
We answered it the following way:
so the reason it is considered breaking is that it affects the __typename field. So from our system perspective, it's not safe to accept a deletion of a union member as it may affect the value of __typename and potentially break your GraphQL consumers (an example would be a React component that renders a child component based on the value of the __typename field, a feed that renders an Image post or a Text post).
Instead of people having to reach out to us, this information should be available within the changes UI.
The text was updated successfully, but these errors were encountered:
We already have some descriptions about why a breaking change is a breaking change. E.g. here in a schema version:
![image](https://private-user-images.githubusercontent.com/14338007/396042955-219e798f-0350-41fc-b634-ce0db5a0c583.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MjMwMTAsIm5iZiI6MTczODkyMjcxMCwicGF0aCI6Ii8xNDMzODAwNy8zOTYwNDI5NTUtMjE5ZTc5OGYtMDM1MC00MWZjLWI2MzQtY2UwZGI1YTBjNTgzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDEwMDUxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVhZjYyYTM1ODQxNGNkZGMzYTIzOTVhZTgxODMzZGNlNzZjYzUzYTUxZDY2OGZiNzc5YjNmN2M5NWEzNDBmOTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MtjW_0YgYMuY3MDwG9HEzUwuWKGaM7DKw9AhnnTSZwo)
Some Hive users were confused about removing a union member being a breaking change.
We answered it the following way:
Instead of people having to reach out to us, this information should be available within the changes UI.
The text was updated successfully, but these errors were encountered: