GraphQL - custom scalar support (#1012)

* x

* CustomScalars

* more tests

* .

* add or set

* ...

* x
This commit is contained in:
Stef Heyenrath
2023-12-04 18:02:03 +01:00
committed by GitHub
parent 124ecc2097
commit fb3ae53e1c
15 changed files with 818 additions and 456 deletions

View File

@@ -1,3 +1,6 @@
using System.Collections.Generic;
using System;
namespace WireMock.Admin.Mappings;
/// <summary>
@@ -75,6 +78,16 @@ public class MatcherModel
#endregion
#region XPathMatcher
/// <summary>
/// Array of namespace prefix and uri. (optional)
/// </summary>
public XmlNamespace[]? XmlNamespaceMap { get; set; }
#endregion
#region GraphQLMatcher
/// <summary>
/// Mapping of custom GraphQL Scalar name to ClrType. (optional)
/// </summary>
public IDictionary<string, Type>? CustomScalars { get; set; }
#endregion
}