Getit icon indicating copy to clipboard operation
Getit copied to clipboard

StrongTyped Builder

Open ZOXEXIVO opened this issue 5 years ago • 1 comments

Can you explain, that problem you solve when write something like this ?

.Name("User")
.Select("userId", "firstName", "lastName", "phone")
.Where("userId", "331")

What different with pure GraphQL Query?

{
    User{
    userId
    firstName
    ....
    }
}

If you using strong typed language, you need create strong typed builders

Query<User>()
.Include(x => x.FirstName)
.Include(x => x.Department.Name)

e.t.c

ZOXEXIVO avatar Jun 04 '19 20:06 ZOXEXIVO