Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 7df0026

Browse files
committed
Get property __type info to use JsConfig.TypeFinder for type resolutions
1 parent c558343 commit 7df0026

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ServiceStack.Text/Common/DeserializeTypeRefJson.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ internal static object StringToType(
8888
if (instance == null && possibleTypeInfo && propertyName == JsWriter.TypeAttr)
8989
{
9090
var explicitTypeName = Serializer.ParseString(propertyValueStr);
91-
var explicitType = AssemblyUtils.FindType(explicitTypeName);
91+
var explicitType = JsConfig.TypeFinder(explicitTypeName);
9292

9393
if (explicitType != null && !explicitType.IsInterface() && !explicitType.IsAbstract())
9494
{

src/ServiceStack.Text/Common/DeserializeTypeRefJsv.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ internal static object StringToType(
4848
if (possibleTypeInfo && propertyName == JsWriter.TypeAttr)
4949
{
5050
var explicitTypeName = Serializer.ParseString(propertyValueStr);
51-
var explicitType = AssemblyUtils.FindType(explicitTypeName);
51+
var explicitType = JsConfig.TypeFinder(explicitTypeName);
5252

5353
if (explicitType != null && !explicitType.IsInterface() && !explicitType.IsAbstract())
5454
{

0 commit comments

Comments
 (0)