Replies: 1 comment
-
Generally speaking, whenever there is an EF component of the same name as a core component, you should use the EF component whenever writing an emitter. Worst case it just forwards to the core component. We have discussed at times re-exporting alloy components from EF so you have one import surface. It's possible doing that would make this a lot easier. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When writing an emitter with EFv2 one of the first things one needs to do is to import the component which is how the we configure the output of the emitter.
One point of confusion is that there are 2 places where Output can be imported from
@alloyjs/core
or@typespec/emitter-framework
How do we make it clear for emitter authors which one to use?Maybe this can be addressed with a scaffolding helper in the CLI
I wanted to share this to gather thoughts and determine if this is something we want to rethink.
Beta Was this translation helpful? Give feedback.
All reactions