Skip to content

Replace union type with mixed#23

Merged
lesstif merged 1 commit intolesstif:mainfrom
DamienHarper:bugfix/worklog-union-type
Sep 25, 2022
Merged

Replace union type with mixed#23
lesstif merged 1 commit intolesstif:mainfrom
DamienHarper:bugfix/worklog-union-type

Conversation

@DamienHarper
Copy link
Copy Markdown
Contributor

@DamienHarper DamienHarper commented Sep 19, 2022

This PR makes use of mixed type instead of the union type DateTimeInterface|string as @SvenRtbg from the JsonMapper folks explains that union types are not (and probably won't ever be) supported by JsonMapper (see cweiske/jsonmapper#192 (comment))

Fixes #22

@DamienHarper DamienHarper changed the title Fixes JsonMapper exception (fixes #22) Replace union type with mixed Sep 19, 2022
@lesstif lesstif merged commit 76336a2 into lesstif:main Sep 25, 2022
@DamienHarper DamienHarper deleted the bugfix/worklog-union-type branch September 26, 2022 06:35
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.

Union types trigger JsonMapper exception

2 participants