Skip to content

fix: error on null value in EnumFrom@wrap in strict mode#5

Merged
trippo merged 3 commits intodatomatic:mainfrom
Carnicero90:main
Dec 29, 2025
Merged

fix: error on null value in EnumFrom@wrap in strict mode#5
trippo merged 3 commits intodatomatic:mainfrom
Carnicero90:main

Conversation

@Carnicero90
Copy link
Contributor

Fixing an oversight on my part in #4: I missed the early return for null values, which should throw an error in strict mode.

@Carnicero90
Copy link
Contributor Author

PS: "@test:lint" in composer.json doesnt exist, so I guess it should probably be removed

@trippo
Copy link
Contributor

trippo commented Dec 20, 2025

@Carnicero90 please add also the readme section of wrap() method

@Carnicero90
Copy link
Contributor Author

Okok, I was keeping it for a different pr, since it looked somehow unrelated. I'm going on a christmas gifts hunt right now, gonna push it after lunch.

@trippo trippo merged commit b110466 into datomatic:main Dec 29, 2025
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants