diff --git a/src/Context/AutoFakerContext.cs b/src/Context/AutoFakerContext.cs index ceefe6c..7c368dd 100644 --- a/src/Context/AutoFakerContext.cs +++ b/src/Context/AutoFakerContext.cs @@ -16,6 +16,8 @@ public sealed class AutoFakerContext /// public CachedType? ParentType; + public Type? GenerateType => CachedType?.Type; + /// /// The type associated with the current generate request. ///