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
{ | |
users { | |
nameFirst | |
nameLast | |
} | |
} |
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
module.exports = async (parent, args, { prisma, ...ctx }, info) => { | |
try { | |
return await prisma.user.findMany() | |
} catch (error) { | |
throw new Error(error) | |
} | |
} |
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
const { PrismaClient } = require('@prisma/client') | |
const prisma = new PrismaClient() | |
module.exports = async (parent, args, ctx, info) => { | |
try { | |
return await prisma.user.findMany() | |
} catch (error) { | |
throw new Error(error) | |
} | |
} |
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
<Input | |
autocomplete='off' | |
disabled={false} | |
autofocus={true} | |
inputRef={null} | |
name='myInput' | |
onBlur={x => console.log(x)} | |
onChange={x => console.log(x)} | |
onKeyDown={x => console.log(x)} | |
placeholder='Please enter a value' |
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
<Input | |
{...{ | |
autocomplete: 'off', | |
disabled: false, | |
autofocus: true, | |
inputRef: null, | |
name: 'myInput', | |
onBlur: x => console.log(x), | |
onChange: x => console.log(x), | |
onKeyDown: x => console.log(x), |
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
# This is a basic workflow to help you get started with Actions | |
name: Reflect Regression Tests | |
on: | |
# Triggers the workflow on push or pull request events but only for the main branch | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] |
OlderNewer