Skip to content

Instantly share code, notes, and snippets.

@xperiandri
Last active December 4, 2020 11:14
Show Gist options
  • Save xperiandri/841645a05b2b22a95412cf0ca933717f to your computer and use it in GitHub Desktop.
Save xperiandri/841645a05b2b22a95412cf0ca933717f to your computer and use it in GitHub Desktop.
let InputRegistriCultureType =
Define.InputObject<RegistriCulture>
(name = "InputCulture",
fields =
[ Define.Input ("kind" , String , description = "A kind of book culture: native or translated")
Define.Input ("culture", CultureInfoType, description = "A culture code of a book") ])
// C#
// Define.Input (name: "kind", type: String, defaultValue: null, description: "A kind of book culture: native or translated")
// Ошибка
// Define.Input ("kind", String, "A kind of book culture: native or translated")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment