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
hello, be aware that _page_internal_global have null slug/url/title.
In my app, most of the rows have null title.
By the way i don't really get the point on removing the null return ? In a database pov, i prefer storing null value and not empty string to avoid a return type error
hello, be aware that _page_internal_global have null slug/url/title. In my app, most of the rows have null title.
By the way i don't really get the point on removing the null return ? In a database pov, i prefer storing null value and not empty string to avoid a return type error
Hmmm interesting, But don't you need those fields to have pages working 🤔🤔.
If you don't have those fields, how do you use those pages 🤔
But I guess it is important we have this issue open to fix models, that contains
nullable
fields, But it shouldn't.Context
Into the Models we have defined some nullable methods for example
Model/Page::getName(): ?string
, and we should return juststring
.Page:
- name
- slug
- title (maybe ?)
Note: I am adding just page here, because I want to avoid huge issue that gonna spend a lot of time, when we fix one, we can go to other model.
The text was updated successfully, but these errors were encountered: