-
Notifications
You must be signed in to change notification settings - Fork 194
Skip writing functions.metadata when using source gen #2974
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
<FunctionsAutoRegisterGeneratedMetadataProvider>$(FunctionsEnableWorkerIndexing)</FunctionsAutoRegisterGeneratedMetadataProvider> | ||
<FunctionsAutoRegisterGeneratedMetadataProvider>$(FunctionsEnableWorkerIndexing)</FunctionsAutoRegisterGeneratedMetadataProvider> | ||
<_WriteFunctionsMetadata>true</_WriteFunctionsMetadata> | ||
<_WriteFunctionsMetadata Condition="'$(FunctionsEnableMetadataSourceGen)' == 'true'">false</_WriteFunctionsMetadata> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we also want to give users the ability to override this behavior? I don't have a concrete scenario in mind, but if users have a dependency on that file for anything, having a property they can set would help preserve this behavior until the next major version, where we can permanently remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What should our default be? Write or don't write? I have it as default don't write for now, which could be considered a breaking change?
Issue describing the changes in this PR
resolves #1058
Pull request checklist
release_notes.md
Additional information
Skips writing functions.metadata when using source gen version of function metadata provider.