After upgrading an app to the latest Breeze/Vue, I started to notice some vue warnings which didn't occur with the earlier version. What I mean is, the same code did not generate these warnings before, but only when running on the upgraded version. The app still functions ok.
The main warning is because vue is expecting a string for an href, and if it receives a null (such as the PREVIOUS link on a paginator first page). Using Vue DevTools, if I change the null to an empty string "", the warning goes away.
Here's the warning regarding the href: [Vue warn]: Invalid prop: type check failed for prop "href". Expected String with value "null", got Null
This same warning also occurs with empty (i.e., nullable) table columns.
In this instance, the warnings indicates: [Vue warn]: Invalid prop: type check failed for prop "modelValue". Expected String with value "null", got Null
As a workaround, I guess I could save all null columns as empty strings "" . And I could change the PREVIOUS and NEXT links to "" rather than null, if I could find where to change it in the Laravel paginator. Or, I could also just ignore all of those vue warnings.
How have others handled these warnings? Any thoughts on how to address the issue?