INNER CODE UNIT · C#

original

ttu/dotnet-fake-json-server · FakeServer.Test/GraphQLTests.cs:245

        var original = ds.GetCollection("users").AsQueryable().First(e => e.id == 2);
        Assert.NotNull(original);
        Assert.Equal("London", original.location);

        var muation = @"
                mutation {
                      replaceUsers ( input: {
                        id: 2
                        users: {
                          name: Newton
                          age: 45
                          work: {
                            name: ACME
                          }
                        }
                      }) {
                        users {
                          id

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…