This repository was archived by the owner on Dec 11, 2023. It is now read-only.

Description
How to reproduce
tmctl create source cloudevents
tmctl create transformation --source foo-cloudeventssource --from my-configs/trans1.txt
Error: "foo-cloudeventssource" event types: event types: unexpected end of JSON input
Thoughts
I think I understand why this doesn't work: because the CLI is looking for the "type" definition (in a CRD or in an instance of a CRD) that it can use in the Trigger filter, but won't find one for CloudEvents source, because the type is provided at runtime along with an event.
I don't yet have ideas on how to solve this but wanted to log it now to keep track of it.
Although one short-term fix would be update the error message to indicate that this won't work for this specific event source (assuming that is indeed the case).