When building an extension that uses a Recorder for runtime initialization and that recorder is in the deployment module it reports LinkageErrors with no context to help fix the issue.
Apparently this is an incorrect configuration. The build should check and report this with a build error that lets the user know how to fix it.
Suggested error:
Runtime recorders must be in an extension's runtime module, `MyExtensionRecorder` is located in the deployment module.
Description
When building an extension that uses a
Recorder
for runtime initialization and that recorder is in the deployment module it reportsLinkageError
s with no context to help fix the issue.Apparently this is an incorrect configuration. The build should check and report this with a build error that lets the user know how to fix it.
Suggested error:
Implementation ideas
No response