-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[Docs - Field] Order of "disabled()" & "relationship()" #9869
Conversation
Not all fields have |
I see your point. I this situation we only have 3 components with
And note that the order will make an issue only when
Is this right or I'm missing something? |
I'm unsure if it's worth adding this to the documentation, but it took me around 4 hours maybe to figure out. After upgrading from Strangely, it worked in |
Let's add the note to those 3 separate pages then, instead of Getting Started In v2, we didn't disable dehydration for disabled fields by default, thats why the issue wasn't there |
Ok 👌, I will add them, and push them for review |
I pushed the changes. But I made a mistake in my previous statement.
The |
Mention that it's necessary to define
disabled()
beforerelationship()
.Because
dehydrated()
inrelationship()
will be overrided by the one indisabled()