File tree Expand file tree Collapse file tree 1 file changed +1
-59
lines changed
src/Linq2GraphQL.Generator/GraphQLSchema Expand file tree Collapse file tree 1 file changed +1
-59
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ public string GetArgString(bool addTypeAttribute)
238238 return result ;
239239 }
240240
241- foreach ( var arg in Args . OrderBy ( x => x . CoreType . OuterNoneNull ) )
241+ foreach ( var arg in Args . OrderByDescending ( x => x . CoreType . OuterNoneNull ) )
242242 {
243243 var coreType = arg . CoreType ;
244244 if ( result != "" )
@@ -266,64 +266,6 @@ public string GetArgString(bool addTypeAttribute)
266266 }
267267}
268268
269- //public class TypeInfo
270- //{
271- // public TypeKind Kind { get; set; }
272-
273- // public string GraphTypeDefinition { get; set; }
274-
275- // public string CSharpTypeName { get; set; }
276- // public Type CSharpType { get; set; }
277- // public bool IsNoneNull { get; set; }
278- // public bool IsList { get; set; }
279-
280-
281- // private bool CSharpNullQuestion()
282- // {
283- // if (GeneratorSettings.Current.Nullable)
284- // {
285- // return !IsNoneNull;
286- // }
287- // else
288- // {
289- // return !IsNoneNull && (Kind == TypeKind.Enum || (CSharpType != null && CSharpTypeName != "string"));
290- // }
291-
292- // }
293-
294- // public string CSharpTypeNameFullNeverNull
295- // {
296- // get
297- // {
298- // var result = CSharpTypeName;
299-
300- // if (IsList)
301- // {
302- // return $"List<{result}>";
303- // }
304-
305- // return result;
306- // }
307- // }
308-
309- // public string CSharpTypeNameFull
310- // {
311- // get
312- // {
313- // var result = CSharpTypeName + (CSharpNullQuestion() ? "?" : "");
314-
315- // if (IsList)
316- // {
317- // return $"List<{result}>";
318- // }
319-
320- // return result;
321- // }
322- // }
323-
324- // public bool IsEnum { get; set; }
325- //}
326-
327269
328270public class Arg : BaseField
329271{
You can’t perform that action at this time.
0 commit comments