From 31d385d3d407adbbe26792182d06dd4c8696d691 Mon Sep 17 00:00:00 2001 From: Gogs Date: Sun, 25 Jul 2021 01:32:49 +0200 Subject: [PATCH] Schemas for Subs --- graphs/fleet.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphs/fleet.htm b/graphs/fleet.htm index 28c4f70..2223c09 100644 --- a/graphs/fleet.htm +++ b/graphs/fleet.htm @@ -1,5 +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 Subscription { aircraft: [Aircraft] @subscription(class: -"GermanAirlinesVa\\Fleet\\Classes\\AircraftSub") } type Aircraft { name: String! registration: String! } type -AircraftType { type: String! aircrafts: [Aircraft] @hasMany } +"GermanAirlinesVa\\Fleet\\Classes\\Aircraft") } type Aircraft { name: String! registration: String! } type AircraftType +{ type: String! aircrafts: [Aircraft] @hasMany }