5.0.0
Make sure to check out the changes 5.0.0-beta1
Breaking Changes
- Generated schema type name for field sort inputs now include the name of the schema type the field is on to avoid conflicts
Changes
IField.AddExtension
now returns theIField
UseSort()
field extension now can take a list of default sort fields e.g.Broadcaster
(inbuiltIObservable<TType>
you can use for subscriptions) now has aOnUnsubscribe
callback
schema.ReplaceField("people",
ctx => ctx.People,
"Return a list of people. Optional sorted")
.UseSort(
new Sort<Person>((person) => person.Height, SortDirection.ASC),
new Sort<Person>((person) => person.LastName, SortDirection.ASC)
);
SchemaBuilderOptions
now has aOnFieldCreated
callback to make changes to fields asSchemaBuilder
is building the schema..contains(string)
,.startsWith(string)
,.endsWith(string)
&.toLower()
/.toUpper()
string methods now available in the filter argument expression.
Fixes
- Fix naming of fields extracted from service calls when those field use convert