frist graphql query to materio_graphql schema is working
going to refactor every thing with graphql
This commit is contained in:
@ -0,0 +1,32 @@
|
||||
fragment ArticleFields on Article {
|
||||
images {
|
||||
id
|
||||
url
|
||||
alt
|
||||
style_minicard{
|
||||
width
|
||||
height
|
||||
url
|
||||
}
|
||||
}
|
||||
id
|
||||
title
|
||||
author
|
||||
uuid
|
||||
memo
|
||||
linked_materials {
|
||||
id
|
||||
title
|
||||
memo
|
||||
images {
|
||||
id
|
||||
url
|
||||
alt
|
||||
style_minicard{
|
||||
width
|
||||
height
|
||||
url
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
fragment MateriauFields on Materiau {
|
||||
images {
|
||||
id
|
||||
url
|
||||
alt
|
||||
style_minicard{
|
||||
width
|
||||
height
|
||||
url
|
||||
}
|
||||
}
|
||||
id
|
||||
title
|
||||
author
|
||||
uuid
|
||||
memo
|
||||
linked_materials {
|
||||
id
|
||||
title
|
||||
memo
|
||||
images {
|
||||
id
|
||||
url
|
||||
alt
|
||||
style_minicard{
|
||||
width
|
||||
height
|
||||
url
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user