-
-
Notifications
You must be signed in to change notification settings - Fork 48
Milestone
Description
What needs to be done?
JsonEntry is not really following our convention, and definition of it looks like this:
/**
* @implements Entry<?array<mixed>>
*/
final class JsonEntry implements EntryWhich assumes that json is an array but it should be string.
Another problem is related to validation, which happens directly in the constructor, which is redundant (logic duplication), validation should use type_json()->validate()