SchemaBuilder
that supports GraphQL schema language. detailsnull
keywordIDependencyResolver
for dependency injection - detailsThrowOnUnhandledException
to ExecutionOptions
. detailsGraphQLTypeReference
from ResolveType
detailsThe func that was previously used for dependency injection has been replaced by the IDependencyResolver
interface. Use FuncDependencyResolver
to help integrate with containers. See the Dependency Injection documentation for more details.
[Obsolete]
public Schema(Func<Type, IGraphType> resolveType)
: this(new FuncDependencyResolver(resolveType))
{
}
public Schema(IDependencyResolver dependencyResolver)
{
...
}
DocumentWriter
The JsonSerializerSettings
now use all default values. This was altered to support the changes to dates.
The DateGraphType
has been split into multiple types. See the GitHub issue for more details.
DateGraphType
- A date with no time.
Date
2018-05-17
(ISO8601 compliant).System.DateTime
GraphTypeRegistry
as the default representation of System.DateTime
.DateTimeGraphType
- A date and time.
DateTime
2018-05-17T12:11:06.3684072Z
(ISO8601 compliant).System.DateTime
DateTimeOffsetGraphType
- A date and time with an offset.
DateTimeOffset
2018-05-17T13:11:06.368408+01:00
(ISO8601 compliant).System.DateTimeOffset
GraphTypeRegistry
as the default representation of System.DateTimeOffset
.TimeSpanSecondsGraphType
- A period of time as seconds.
Seconds
10
System.TimeSpan
GraphTypeRegistry
as the default representation of System.TimeSpan
.TimeSpanMillisecondsGraphType
- A period of time as milliseconds.
Milliseconds
100
System.TimeSpan
Fields, enumerations, and arguments all now have their names validated according to the GraphQL spec, which is /[_A-Za-z][_0-9A-Za-z]*/
.
QueryArgument
names are now run through the IFieldNameConverter
set on the Schema
.
SchemaPrinter
now only ignores core GraphQL scalars by default. Those are String
, Boolean
, Int
, Float
, and ID
. See the GitHub issue for more details.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4