Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

WIP: Graphql Transport WS Protocol #108

Merged
merged 17 commits into from May 14, 2017

Commits on Apr 13, 2017

  1. feat(NA): new protocol supporting queries, mutations and subscription…

    …s both on client and server side using websockets as transport layer to be used on a new package called graphql-transport-ws.
    
    fix(NA): fixed path of new files.
    mistic committed Apr 13, 2017
    Configuration menu
    Copy the full SHA
    98a7f52 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2017

  1. feat(NA): applied changes according pull request review.

    feat(NA): applied changes according pull request review..
    
    feat(NA): added static method for instance creation.
    
    refact(NA): change the class names back to subscriptionserver and subscriptionclient.
    
    feat(NA): applied changes according pull request review.
    
    feat(NA): added static method for instance creation. fix(NA): fixed error thrown when we try to print and query its already a string.
    
    refact(NA): change the class names back to subscriptionserver and subscriptionclient.
    
    feat(NA): added new helper function to fully extend network interface with ws transport. fix(NA): built legacy messages on server side and other bad object accesses.
    
    feat(NA): enclose wsclient creation inside addGraphQLWS function.
    
    fix(NA): removed useless addGraphQLWS function.
    
    feat(NA): added legacy support to the old server protocol.
    mistic committed Apr 22, 2017
    Configuration menu
    Copy the full SHA
    7b19459 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2017

  1. feat(NA): graphql transport ws protocol with executor.

    feat(NA): added subscription function request.
    
    fix(NA): fixed unsubscribe function.
    
    feat(NA): added constructor verification for executor and schema.
    
    chore(NA): added correct comment inside on message function.
    
    feat(NA): added initial filtering for requests.
    
    feat(NA): added initial filtering for requests.
    
    fix(NA): changed way to store unsubscribe function.
    
    fix(NA): removed contextValue from serverOptions.
    
    fix(NA): correct warn comment when using legacy subscription manager,
    
    chore(NA): Implement Adapter pattern for executor
    
    refact(NA): refactor on ExecuteAdapters. feat(NA): added code to support formatError and formatResponse.
    
    fix(NA): fix way we invoke format functions.
    
    fix(NA): small changes on error creation and executor/subscriptionManager check on loadExecutor.
    
    fix(NA): fix bad usage of base params on execute.
    
    feat(NA): updated ws dependency to the last version.
    
    fix(NA):  overrideDefaultErrorType might be undefined.
    
    fix(NA): support for legacy handler.
    
    fix(NA): fixed const and payload errors.
    mistic committed May 2, 2017
    Configuration menu
    Copy the full SHA
    062d1d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2a1988 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2017

  1. feat(NA): changes according pull request reviews. test(NA): refactori…

    …ng on old tests to keep working on new code. fix(NA): error handling between client and server.
    
    refact(NA): applied some changes purposed on pull request.
    
    refact(NA): change executeRequest to executeOperation on client.
    
    fix(NA): apply console warn only outside production env.
    
    fix(NA): import one by one to reduce bundler size.
    
    fix(NA): return original errors format.
    
    test(NA): refact some tests to work with new version.
    
    refact(NA): removed console logs from tests.
    
    test(NA): update old tests.
    
    test(NA): update old tests.
    
    refact(NA): changed requests to operations.
    
    fix(NA): add return to discard invalid messages.
    
    test(NA): fixed bad timeout on test.
    
    test(NA): commented non sense unit test.
    
    test(NA): adapt legacy test to new server code logic with unsubscribe.
    
    test(NA): fixed some legacy tests.
    
    fix(errors): error handling between client & server
    
    chore(NA): added todo about validation error in the server.
    mistic committed May 10, 2017
    Configuration menu
    Copy the full SHA
    3a6e984 View commit details
    Browse the repository at this point in the history
  2. refact(NA): move todo of validation errors and changing method that g…

    …enerates operation id.
    mistic committed May 10, 2017
    Configuration menu
    Copy the full SHA
    4879dfc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0228ed2 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2017

  1. Configuration menu
    Copy the full SHA
    126ab39 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c8c7f71 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da9a67e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    72ad3f2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5cf552a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    79855df View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    642d71e View commit details
    Browse the repository at this point in the history
  8. fix(NA): apply some changes to old tests. fix(NA): redesign onConnect…

    … so it becames legacy compatible. refact(NA): apply changes according new reviews.
    
    refact(NA): removed unused test.
    
    fix(NA): env check on helpers function.
    
    refact(NA): remove some types due to lint errors.
    
    feat(NA): completely legacy support onSubscribe.
    
    fix(NA): removed unused src glob from lint task.
    
    fix(NA): mapping between old and new error spec in connection_error on legacy mode.
    
    fix(NA): add mock subscription to pre register opId before onOperation
    
    refact(NA): change signature of onConnect so it dont break the old api.
    mistic committed May 11, 2017
    Configuration menu
    Copy the full SHA
    f71bee1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6b33b99 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2017

  1. feat(NA): added support into server executor for graphql-js subscribe.

    docs(NA): changelog update.
    
    docs(NA): changelog update.
    
    docs(NA): changelog update.
    
    feat(NA): add subscribe from graphql.
    
    fix(NA): check for connection state inside sendMessage.
    
    fix(NA): merge executeFromSubscribe with executeFromExecute.
    
    feat(NA): changelog update.
    
    fix(NA): clear immediate action on unsubscribe.
    
    fix(NA): removed typo from condition.
    
    fix(NA): added esnext to tslint config.
    mistic committed May 12, 2017
    Configuration menu
    Copy the full SHA
    a854e33 View commit details
    Browse the repository at this point in the history