Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic node build to support repl #18

Merged
merged 7 commits into from
Oct 31, 2022
Merged

Basic node build to support repl #18

merged 7 commits into from
Oct 31, 2022

Conversation

cleve-fauna
Copy link
Contributor

@cleve-fauna cleve-fauna commented Oct 27, 2022

Notes

Very basic node build for supporting a repl.

Out of scope

Making this customer ready and having some way of doing this type aware. I'll work on that tomorrow

Testing

node
 > const lib = require('./build/node/fauna.js')
undefined
 > lib
{
  AuthenticationError: [Getter],
  AuthorizationError: [Getter],
  Client: [Getter],
  ClientError: [Getter],
  NetworkError: [Getter],
  ProtocolError: [Getter],
  QueryCheckError: [Getter],
  QueryRuntimeError: [Getter],
  QueryTimeoutError: [Getter],
  ServiceError: [Getter],
  ServiceInternalError: [Getter],
  ServiceTimeoutError: [Getter],
  ThrottlingError: [Getter],
  endpoints: [Getter],
  fql: [Getter]
}
  > lib.fql`foo`
_QueryBuilderImpl {}
 > lib.fql`foo`.toQuery()
{ query: 'foo', arguments: {} }

@cleve-fauna cleve-fauna marked this pull request as ready for review October 27, 2022 23:59
@cleve-fauna cleve-fauna changed the title main buildForNode Basic node build to support repl Oct 28, 2022
mwilde345
mwilde345 previously approved these changes Oct 28, 2022
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