Comments (5)
Default argument value is supported now.
from graphql-clj.
Awesome!
@tendant Btw, are there any simple tasks in the project I could help with? I'm not fully familiar with the codebase yet, but I'd like to help with moving it forward.
from graphql-clj.
It hasn't been implemented yet. Pull requests are very welcome.
On Wednesday, October 5, 2016, Marcin Kulik [email protected]
wrote:
According to http://graphql.org/learn/schema/#arguments you can give
arguments default values and then you can skip them in the query. I tried
that but I'm getting {:error [{:message "Missing arguments: #{"id"},
for field (foo) in type (Query)."}]}. I briefly looked at the source and
I don't see any code dealing with default values. What's the status of
this? I may help with implementing this.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#11, or mute the thread
https://github.com/notifications/unsubscribe-auth/AACRPeEmUPn1_jMwphCYg8ArCgzm25azks5qw7clgaJpZM4KO5Ff
.
from graphql-clj.
@sickill Thanks for your help on improving graphql-clj.
There are a few ways you can help.
- Try to use this library and file issue if you find something doesn't work.
- Help create test cases to cover the feature you want to use in graphql.
- Help create test cases from reference implementation: https://github.com/graphql/graphql-js.
- Current graphql-clj development progress is included in README.md, you can implement any unchecked items.
- Write some blog about how to use the library to help other users.
I will write some documentations about internal implementation of graphql-clj soon. Hopefully they will help you to understand the implementation detail.
Thanks,
Lei
from graphql-clj.
Thanks Lei.
I am doing exactly what you described - using the library and trying to improve it when I hit something not working. Some basic developer/implementation documentation would definitely help more people to contribute (that applies to any software project ;)), no rush though, the code is not hard to comprehend 👍 .
from graphql-clj.
Related Issues (20)
- spec/format for "Transformed Map" HOT 2
- Simplified Executor
- Generic data-loader
- Resolver function
- Reduce the size of validated schema and statement
- Validator error: "clojure.spec$nilable_impl$reify__41165 cannot be cast to clojure.lang.Named" HOT 2
- Passing variables with keyword keys doesn't work HOT 3
- Missing validation of dissimilar variable list types HOT 1
- Nested input object does not work HOT 6
- Tries to load spec under Clojure 1.8 and breaks HOT 2
- Unknown argument ... on field ... of type ... HOT 4
- Is it possible to define a custom scalar ? HOT 2
- Cannot query field '__typename' HOT 4
- List type argument seems to become lost HOT 3
- Is it possible to get the info parameter in resolvers? HOT 1
- Documentation
- Schema utilities
- If required field return nil, the connection is close, but no exception is thrown
- The '!' doesn't work in the Input
- Implement "extend type ..." HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-clj.