Skip to content

Structure of installation, includes and usages #26

Closed
@fxfactorial

Description

@fxfactorial

@swolchok Great work, reached out to you on twitter as well.

I am doing OCaml bindings, https://github.com/fxfactorial/ocaml-graphql, and a server for graphql and have some questions.

(Installed from source)

  1. Doing: #include <graphqlparser/JsonVisitor.h> and getting
/usr/local/include/graphqlparser/JsonVisitor.h:13:10: fatal error: 'AstVisitor.h' file not found
#include "AstVisitor.h"
         ^
1 error generated.

Mistake in the cmake installation?

  1. Why is there a nested libgraphqlparser inside of graphqlparser in the installed headers?/

  2. Twitter question

  3. is graphql_ast_to_json intended just for debugging or is the graphql server intended to relevant info out of that and then do with the data as it wills, ie querying postgres, redis, etc. What are some more example C++ API based usages of the AST

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions