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:
@ -16,7 +16,7 @@ namespace Godot.SourceGenerators
|
||||
|
||||
public void Execute(GeneratorExecutionContext context)
|
||||
{
|
||||
if (context.AreGodotSourceGeneratorsDisabled())
|
||||
if (context.IsGodotSourceGeneratorDisabled("ScriptSerialization"))
|
||||
return;
|
||||
|
||||
INamedTypeSymbol[] godotClasses = context
|
||||
|
||||
Reference in New Issue
Block a user