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
Binding a value that isn't stringable causes an error currently, and so it should.
However, it would be nice to be able to register a callback to stringify a class, and provide defaults. This will be called within BindableCache, so #382 can be covered by this issue instead.
There should also be the ability to register a default, which can be done by WebEngine for built in types like DateTimeInterface, DateInterval, SplFileObject, etc.
The text was updated successfully, but these errors were encountered:
Binding a value that isn't
stringable
causes an error currently, and so it should.However, it would be nice to be able to register a callback to stringify a class, and provide defaults. This will be called within BindableCache, so #382 can be covered by this issue instead.
This is just an idea for the syntax.
There should also be the ability to register a default, which can be done by WebEngine for built in types like DateTimeInterface, DateInterval, SplFileObject, etc.
The text was updated successfully, but these errors were encountered: