mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Add fine-grained disabling of SourceGenerators
This allows manual testing and/or alternate source generators to provide functionality without conflict.
This commit is contained in:
parent
0291fcd7b6
commit
8ab3295e57
9 changed files with 14 additions and 7 deletions
|
@ -16,7 +16,7 @@ namespace Godot.SourceGenerators
|
|||
|
||||
public void Execute(GeneratorExecutionContext context)
|
||||
{
|
||||
if (context.AreGodotSourceGeneratorsDisabled())
|
||||
if (context.IsGodotSourceGeneratorDisabled("ScriptSerialization"))
|
||||
return;
|
||||
|
||||
INamedTypeSymbol[] godotClasses = context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue