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
In the class org.springframework.data.web.PagedModel the getMetadata method is annotated with @nullable.
Based on how the code is written, with page being mandatory as part of the constructor, the getMetadata method should always return an object, never null.
This is causing issues with typescript generation where it's saying that the metadata is optional, when it's really not. It will always be present based on how the code is written.
Additionally, it seems odd to have a page without mandatory paging information.
The text was updated successfully, but these errors were encountered:
In the class org.springframework.data.web.PagedModel the getMetadata method is annotated with @nullable.
Based on how the code is written, with page being mandatory as part of the constructor, the getMetadata method should always return an object, never null.
This is causing issues with typescript generation where it's saying that the metadata is optional, when it's really not. It will always be present based on how the code is written.
Additionally, it seems odd to have a page without mandatory paging information.
The text was updated successfully, but these errors were encountered: