Skip to content

Conversation

dirkmc
Copy link
Contributor

@dirkmc dirkmc commented Nov 5, 2021

Depends on #20

This was referenced Nov 5, 2021
http.Handle("/graphql", &corsHandler{graphQLHandler})
go func() {
listenAddr := fmt.Sprintf(":%d", httpPort)
fmt.Printf("Graphql server listening on %s\n", listenAddr)
Copy link
Member

@nonsense nonsense Nov 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit, but I think we should default to using log instead of fmt.Print as much as we can. (also this is helpful because it has the listenAddr)

* feat: implement dummy deal API

* Update node/impl/boost.go

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>

* Update node/impl/boost.go

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>

* feat: add react subscription / mutations (#23)

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>
@dirkmc dirkmc merged commit 327b3b2 into refactor/provider Nov 10, 2021
@dirkmc dirkmc deleted the feat/gql-subs branch November 10, 2021 07:39
dirkmc added a commit that referenced this pull request Nov 10, 2021
* feat: grapql subscriptions and mutations

* Implement dummy deal API (#22)

* feat: implement dummy deal API

* Update node/impl/boost.go

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>

* Update node/impl/boost.go

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>

* feat: add react subscription / mutations (#23)

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>
dirkmc added a commit that referenced this pull request Nov 10, 2021
* refactor: storage provider

* refactor: pass deal state as parameter instead of having its own struct (#25)

* Add graphql subscriptions and mutations (#21)

* feat: grapql subscriptions and mutations

* Implement dummy deal API (#22)

* feat: implement dummy deal API

* Update node/impl/boost.go

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>

* Update node/impl/boost.go

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>

* feat: add react subscription / mutations (#23)

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>

Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants