Subscription testing
This commit is contained in:
+2
-2
@@ -12,5 +12,5 @@ function resolveCmsContent($root, $args) {
|
||||
}
|
||||
?>
|
||||
== # Content extend type Query { cmsContent(name: String!): CmsContent! } type CmsContent { fileName: String! content:
|
||||
String markup: String parsedMarkup: String } # CMS-wide types # Backend\Models\User type BackendUser { id: ID! } #
|
||||
System\Models\File type SystemFile { id: ID path: String title: String description: String }
|
||||
String markup: String parsedMarkup: String } # CMS-wide types # Backend\Models\User type BackendUser { id: ID! }
|
||||
#System\Models\File type SystemFile { id: ID path: String title: String description: String }
|
||||
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
title = "Fleet" == == # Content extend type Query { aircraft: [Aircraft] @all(model:
|
||||
"GermanAirlinesVa\\Fleet\\Models\\Aircraft") aircraftType: [AircraftType] @all(model:
|
||||
"GermanAirlinesVa\\Fleet\\Models\\AircraftType") } type Aircraft { name: String! registration: String! } type
|
||||
"GermanAirlinesVa\\Fleet\\Models\\AircraftType") } type Subscription { aircraft: [Aircraft] @subscription(class:
|
||||
"GermanAirlinesVa\\Fleet\\Classes\\AircraftSub") } type Aircraft { name: String! registration: String! } type
|
||||
AircraftType { type: String! aircrafts: [Aircraft] @hasMany }
|
||||
|
||||
Reference in New Issue
Block a user