HackerTrans
トップ新着トレンドコメント過去質問紹介求人

maticzav

no profile record

投稿

[untitled]

1 ポイント·投稿者 maticzav·11 か月前·0 コメント

Rebrowser Patches – Patches for undetectable browser automation

github.com
1 ポイント·投稿者 maticzav·昨年·0 コメント

The Math Behind Squircles

figma.com
3 ポイント·投稿者 maticzav·3 年前·0 コメント

Unleashing Genetic Algorithms on the iOS 7 Icon

blog.mikeswanson.com
2 ポイント·投稿者 maticzav·3 年前·0 コメント

User Interface Gallery

ui.gallery
1 ポイント·投稿者 maticzav·4 年前·0 コメント

Ask HN: Why are there so many spiders in Europe?

1 ポイント·投稿者 maticzav·4 年前·2 コメント

Ask HN: Should I learn Docker in 2022?

2 ポイント·投稿者 maticzav·4 年前·4 コメント

Implementing Substitution in λ-Calculus

ucilnica.fri.uni-lj.si
2 ポイント·投稿者 maticzav·4 年前·0 コメント

SwiftGraphQL – A GraphQL client for Swift lovers

the-guild.dev
6 ポイント·投稿者 maticzav·5 年前·0 コメント

How to Be a Pirate: Quartermaster Edition

youtube.com
1 ポイント·投稿者 maticzav·5 年前·0 コメント

Start Programming in Java

notion.so
2 ポイント·投稿者 maticzav·5 年前·0 コメント

SwiftGraphQL – A GraphQL client that lets you forget about GraphQL

github.com
97 ポイント·投稿者 maticzav·5 年前·86 コメント

コメント

maticzav
·11 か月前·議論
i love the idea!

i know that https://expand.ai/ is doing something similar, maybe worth checking out
maticzav
·4 年前·議論
Thanks! That helps a lot. Can you maybe recommend any good starting points besides just searching the internet for each of the keywords you mentioned?
maticzav
·5 年前·議論
Thank you for adding the links!

The main difference between these clients and SwiftGraphQL is that SwiftGraphQL tries to abstract away GraphQL in favour of Swift language feature.

`relay-swift`, for example, relies on query strings which doesn't bring type-safety to your code;

`graphaello` is indeed very similar and I've tried using it before creating SwiftGraphQL. One of the goals of SwiftGraphQL was to let you easily separate the model from your queries. That's why we let you do complex logic in the selection itself. Otherwise, you'd have to first create a utility struct and then translate it into a model-type. I think that's the main difference between graphaello and SwiftGraphQL

Thanks again for sharing the links!
maticzav
·5 年前·議論
SwiftGraphQL also generates API structs from the schema.

Maybe you are referring to generating the model from the queries. The problem we had with that approach was that it's hard to reuse the generated structures in your application model. You can read more about the idea here:

https://github.com/maticzav/swift-graphql#what-are-the-pitfa...
maticzav
·5 年前·議論
SwiftGraphQL was actually inspired by Elm GraphQL! Dillon - the creator of Elm GraphQL - even helped me understand a couple of concepts he used in that library that we also use in SwiftGraphQL.