Docs: source-generated extension/option discovery manifest#372
Merged
Conversation
Adds a "Source-generated extension manifest" section to the AOT guide (sibling to the existing command-manifest docs) covering JasperFx.Generated.DiscoveredExtensions, the eligibility gate ([JasperFxAssembly]-derived or executable), the two discovery sources (attribute-declared types + IJasperFxExtension implementers), and GeneratedExtensionManifest runtime consumption. Cross-references it from the AssemblyFinder trim-hostile note. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Closed
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #371 — documents the compile-time extension/option discovery feature.
Adds a "Source-generated extension manifest" section to the AOT guide (
docs/codegen/aot.md), as a sibling to the existing command-manifest docs. Covers:JasperFx.Generated.DiscoveredExtensions— what the generator emits and why (eliminates the reflectiveAssemblyFinderassembly scan for extension/option types).[JasperFxAssembly]-derived attribute or executable (entry) assembly.[WolverineModule<T>]/[JasperFxAssembly(typeof(T))]) andIJasperFxExtensionmarker implementers.GeneratedExtensionManifest.ReadFromLoadedAssemblies()/AnyManifestPresent(), with the reflective fallback.Also cross-references the new manifest from the
AssemblyFinder"trim-hostile" note.Branched off and rebased on the latest
main(which includes #371).🤖 Generated with Claude Code