Chester:Chester是Swift GraphQL查询生成器

时间:2021-02-04 03:05:19
【文件属性】:
文件名称:Chester:Chester是Swift GraphQL查询生成器
文件大小:24KB
文件格式:ZIP
更新时间:2021-02-04 03:05:19
graphql swift ios dsl GraphQLSwift 切斯特 实验性的:@functionBuilder支持 @functionBuilder似乎很适合这种任务。 有一个单独的GraphQLBuilderTests测试套件,显示了受支持的案例。 以其基本形式,您可以构建如下查询: import Chester let query = GraphQLQuery { From ( " posts " ) Fields ( " id " , " title " ) } 现在可以按照逻辑顺序定义嵌套查询: let query = GraphQLQuery { From ( " posts " ) Fields ( " id " ,
【文件预览】:
Chester-master
----.gitignore(472B)
----Chester.podspec(766B)
----ChesterTests()
--------testQueryWithMultipleRootAndSubQueries.json(94B)
--------TestHelper.swift(598B)
--------testQueryWithNestedSubQueries.json(110B)
--------testQueryWithSubQuery.json(68B)
--------testQueryArgsWithSpecialCharacters.json(117B)
--------testQueryOnWithTypename.json(118B)
--------testQueryWithMultipleRootFieldsAndArgs.json(100B)
--------testQueryOn.json(103B)
--------testQueryArgsWithDictionary.json(108B)
--------Info.plist(733B)
--------QueryBuilderTests.swift(5KB)
--------testQueryArgs.json(62B)
--------GraphQLBuilderTests.swift(4KB)
--------testQueryWithMultipleRootFields.json(62B)
--------testQueryWithFields.json(36B)
----Chester()
--------QueryBuilder.swift(5KB)
--------GraphQLBuilder.swift(3KB)
--------Info.plist(806B)
--------Chester.h(413B)
--------Query.swift(3KB)
--------DefaultStringInterpolation+Chester.swift(3KB)
----LICENSE(1KB)
----.github()
--------workflows()
----README.md(3KB)
----Chester.xcodeproj()
--------xcshareddata()
--------project.xcworkspace()
--------project.pbxproj(23KB)
----Gemfile(45B)
----Gemfile.lock(5KB)

网友评论