[SPIKE] Event oneOf discriminated union (INTER-2457) - #49
Conversation
INTER-2457. Regenerated Event as an interface to show the compile break. Do not merge.
Wrong commit message format detectedWe use Semantic Commit Messages in our project.
Run the next command in the project root to activate local hooks: sh ./install_hooks.shMore info you can find in job logs Commitlint ErrorsCommit: 9cf2407 `chore: SPIKE Event oneOf discriminated union INTER-2457. Regenerated Event as an interface to show the compile break. Do not merge.`
|
pnpm exec changesetto create a changeset. |
|
Following files do not match corresponding templates: To fix this warning, make sure template files are up-to-date, and generate files by running the following command: bash ./scripts/generate.sh |
EventoneOf (EventDevice|EventEdge, discriminatorsource).Break: compile / binary
Eventused to be a class withgetIdentification(). It is now an interface (useOneOfInterfaces: true) with nogetIdentification().api.getEvent(id).getIdentification()does not compile. Identification is onEventDevice.getEvent: FingerprintApi.javaKnown issue: CI will fail
The SDK and tests are expected not to compile. That is the spike.