Ivan Asmer il y a 4 ans
Parent
commit
ce6c67b0b3
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      src/front-models.mjs

+ 0 - 2
src/front-models.mjs

@@ -78,14 +78,12 @@ export default async function createModels2(gql, config={create: 'Upsert', updat
   `
 
     const universe = await gql.request(universeQuery)
-    console.log(universe)
     const types  = []
     const inputs = []
     for (let type of universe.__schema.types){
         if (!["Query", "Mutation"].includes(type.name) && type.kind === "OBJECT" && !type.name.startsWith('__')) types.push(type)
         if (!["Query", "Mutation"].includes(type.name) && type.kind === "INPUT_OBJECT" && !type.name.startsWith('__')) inputs.push(type)
     }
-    console.log(types, inputs)
 
     let classes = {}