Code Monkey home page Code Monkey logo

Comments (5)

sogko avatar sogko commented on July 2, 2024

Hi @chris-ramon
I ran the same test program against my types branch / PR #12 and its gave the expected output

$ go run main.go
2015/09/30 10:20:51 result: &{map[hello:world] []}

There are a bunch of fixes in that PR (because the types package was minimally implemented. Porting more tests cases exposed more missing implementation)

There are a couple of options:

  • Merge the current state of PR #12 (3 out of 5 test suites ported)
  • Put this on hold till I complete porting all 5 test suites and PR #12 is ready for merge (I can probably complete it by the end of the day)

Cheers!

from graphql.

chris-ramon avatar chris-ramon commented on July 2, 2024

Thanks for taking a look to this issue, @sogko!

I am writing basic getting started section on README, so I will go ahead and branch-off from #12.
I think we can merge #12 later when ready, thanks a lot for working on it 👍

from graphql.

chris-ramon avatar chris-ramon commented on July 2, 2024

Closing this one, already handled on #12.

from graphql.

chris-ramon avatar chris-ramon commented on July 2, 2024

re-opened this issue, got the following errors:

# github.com/chris-ramon/graphql-go/types
../../../go_packages/src/github.com/chris-ramon/graphql-go/types/introspection.go:147: cannot use astVal (type ast.Value) as type ast.Node in argument to printer.Print:
    ast.Value does not implement ast.Node (missing GetKind method)
../../../go_packages/src/github.com/chris-ramon/graphql-go/types/introspection.go:154: cannot use astVal (type ast.Value) as type ast.Node in argument to printer.Print:
    ast.Value does not implement ast.Node (missing GetKind method)

from graphql.

chris-ramon avatar chris-ramon commented on July 2, 2024

Alright, closing this one, since it's not related to graphql-go, I was building a program outside $GOPATH.
Tried again and built my program within $GOPATH and is working as expected 👍

from graphql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.