Skip to content

ProductivityTools-Learning/ProductivityTools.Learning.Java.Basics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL

Tutorial

After running the application in we can open the page: localhost:8080/graphiql

Bugs repaired

  • name of the method in the schema was capitalized and in the java file not
  • if method does not have parameters, then in the schema we should not put ()
  • for schema mapping, method needs to be named as property in the schema.graphqls

type Person {
    firstName: String
    lastName: String
    personAddress: PersonAddress
}

    @SchemaMapping
    public PersonAddress personAddress(Person person) {
        return new PersonAddress("123 Main St");
    }

Postgresql

download

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages