Skip to content

Instantly share code, notes, and snippets.

operationName:null
query:"mutation ($input: UpdateTeacherInput!) {↵ item: updateTeacher(input: $input) {↵ ...TeacherFields↵ __typename↵ }↵}↵↵fragment TeacherFields on Teacher {↵ id↵ name↵ description↵ photoUrl↵ socialLinks {↵ facebook↵ googleplus↵ instagram↵ odnoklassniki↵ twitter↵ utmagazine↵ vkontakte↵ youtube↵ __typename↵ }↵ __typename↵}↵"
variables:{input: {name: "netda1", id: "15", description: null,…}}
input:{name: "netda1", id: "15", description: null,…}
description:null
id:"15"
name:"netda1"
photoUrl:null
socialLinks:{facebook: null, googleplus: null, instagram: null, odnoklassniki: null, twitter: null,…}
facebook:null
operationName:null
query:"query ($page: Int!, $size: Int!) {↵ items: allCourseFlows(page: {page: $page, size: $size}) {↵ totalElements↵ content {↵ ...CourseFlowFields↵ __typename↵ }↵ __typename↵ }↵}↵↵fragment CourseFlowFields on CourseFlow {↵ id↵ dateStart↵ name↵ videoUrl↵ course {↵ name↵ __typename↵ }↵ courseId↵ __typename↵}↵"
variables:{page: 0, size: 10}
page:0
size:10
browser.js?e834:49 Warning: Missing translation for key: "GraphQL error: The given id must not be null!; nested exception is java.lang.IllegalArgumentException: The given id must not be null!
GraphQL error: The given id must not be null!; nested exception is java.lang.IllegalArgumentException: The given id must not be null!
GraphQL error: The given id must not be null!; nested exception is java.lang.IllegalArgumentException: The given id must not be null!
GraphQL error: The given id must not be null!; nested exception is java.lang.IllegalArgumentException: The given id must not be null!
{operationName: null, variables: {listId: "13", page: 0, size: 10},…}
operationName:null
query:"query ($listId: ID, $page: Int!, $size: Int!) {↵ items: allMaterials(filter: {listId: $listId}, page: {page: $page, size: $size}) {↵ totalElements↵ content {↵ ...MaterialFields↵ __typename↵ }↵ __typename↵ }↵}↵↵fragment MaterialFields on Material {↵ id↵ name↵ type↵ author↵ url↵ __typename↵}↵"
variables:{listId: "13", page: 0, size: 10}
listId:"13"
page:0
size:10
{operationName: null, variables: {planId: "3", page: 1, size: 10},…}
operationName:null
query:"query ($planId: ID, $page: Int!, $size: Int!) {↵ items: allCoursePlanLessons(filter: {planId: $planId}, page: {page: $page, size: $size}) {↵ totalPages↵ totalElements↵ content {↵ ...PlanLessonFields↵ __typename↵ }↵ __typename↵ }↵}↵↵fragment PlanLessonFields on CoursePlanLesson {↵ id↵ priority↵ subject↵ description↵ __typename↵}↵"
variables:{planId: "3", page: 1, size: 10}
page:1
planId:"3"
size:10
const fields = gql`
fragment CourseFlowFields on CourseFlow {
id
dateStart
name
videoUrl
course {
name
}
courseId
reqeust:
operationName:null
query:"mutation ($input: CreateFlowInput!) {↵ item: createCourseFlow(input: $input) {↵ ...CourseFlowFields↵ __typename↵ }↵}↵↵fragment CourseFlowFields on CourseFlow {↵ id↵ dateStart↵ name↵ videoUrl↵ course {↵ name↵ __typename↵ }↵ courseId↵ __typename↵}↵"
variables:{input: {name: "proveriaem sozdanie", courseId: "6", date: "2018-06-07"}}
input:{name: "proveriaem sozdanie", courseId: "6", date: "2018-06-07"}
courseId:"6"
date:"2018-06-07"
name:"proveriaem sozdanie"
response:
{operationName: null, variables: {input: {name: "kursss", date: "2018-06-02"}},…}
operationName:null
query:"mutation ($input: CreateFlowInput!) {↵ item: createCourseFlow(input: $input) {↵ ...CourseFlowFields↵ __typename↵ }↵}↵↵fragment CourseFlowFields on CourseFlow {↵ id↵ dateStart↵ name↵ videoUrl↵ course {↵ name↵ __typename↵ }↵ courseId↵ __typename↵}↵"
variables:{input: {name: "kursss", date: "2018-06-02"}}
input:{name: "kursss", date: "2018-06-02"}
date:"2018-06-02"
name:"kursss"
operationName
:
null
query
:
"mutation ($input: CreateTeacherInput!) {↵ item: createTeacher(input: $input) {↵ ...CourseFlowFields↵ __typename↵ }↵}↵↵fragment CourseFlowFields on CourseFlow {↵ id↵ dateStart↵ name↵ videoUrl↵ course {↵ name↵ __typename↵ }↵ courseId↵ __typename↵}↵"
variables
:
{input: {name: "da", userId: "4", description: "dada"}}
{data: null, errors: [{,…}]}
data
:
null
errors
:
[{,…}]
0
:
{,…}
return (name === 'Вы') ? 'rgba(255, 0, 0, 1)' : 'rgba' + '(' + '15, ' + '82, ' + '186, ' + Math.random() + ')';
return (name === 'Вы') ? 'rgba(255, 0, 0, 1)' : 'rgba(15, 82,'186, ' + Math.random() + ')';