-
-
Save DanyF-github/4b5abcdcafd9618b282fb3d50cfe7dfc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// server/src/typeDefs.js | |
type Query { | |
... | |
sessionDetails(uuid: String) : SessionResponse | |
... | |
} | |
// server/src/resolvers.js | |
const { | |
... | |
videoApi: { joinSession, startSession }, | |
} = require('./graphql'); | |
... | |
const resolvers = { | |
Query: { | |
sessionDetails: joinSession, | |
... | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment