Christian Legnitto
794568e463
Add release automation ( #346 )
...
See `RELEASING.md` for directions
2019-05-11 23:51:28 -07:00
Christian Legnitto
edd1b26d71
Fix CHANGELOG typos
2019-05-11 22:54:40 -07:00
Rogerio Moura
dbfcc762da
Specify path to graphql_object module ( #352 )
2019-05-05 20:20:21 -07:00
Christian Legnitto
0f78417f44
Delete yarn.lock ( #351 )
...
Not needed now that we have switched to mdbook
2019-05-03 00:39:58 -07:00
Christian Legnitto
37a9d02850
Fix failure when no book content has changed
...
If there is no new book content, `git commit` will return `1` and the entire job will error. Took answer from https://stackoverflow.com/questions/8123674/how-to-git-commit-nothing-without-an-error
2019-05-03 00:39:33 -07:00
Christoph Herzog
51bde5d94f
Remove old 2018 edition compatability tests.
...
Those are not needed anymore since the refactor to 2018 edition.
2019-05-02 20:18:21 +02:00
theduke
acf4207ff1
Merge pull request #345 from theduke/2018-edition
...
Refactor to 2018 edition + some clippy fixes
2019-05-02 19:13:25 +02:00
Christoph Herzog
2e011014ea
Formatting...
2019-05-02 18:44:56 +02:00
Christoph Herzog
3c8e796cfe
(ci) Bump minimum Rust version
2019-05-02 18:44:56 +02:00
Christoph Herzog
2ce2964b65
Fix clippy warnings
2019-05-02 18:44:56 +02:00
Christoph Herzog
5a4230e0d0
Remove macro_use + extern crate statements (2018 edition)
2019-05-02 18:44:56 +02:00
Christoph Herzog
54a1b64a79
Refactor code to 2018 edition with 'cargo fix --edition'
2019-05-02 18:44:56 +02:00
Christoph Herzog
178f594e58
Fix lookahead for optional arguments.
2019-05-02 18:30:27 +02:00
Christoph Herzog
85d5480d50
Make introspection tests ordering independent.
...
With the new HashMap implementation, the maps on stable and nightly
have different ordering.
The introspection tests were relying on strict ordering.
This commit adds a simple sorting of the results to prevent
test failures.
2019-05-02 18:25:14 +02:00
Christian Legnitto
b96879e2db
Add a git ssh origin when pushing docs
...
Azure apparently downloads the source via http,
so when we go to push the ssh keychain is not used.
adding origin shoudl fix it, as was done in
https://cloudblogs.microsoft.com/opensource/2019/04/05/publishing-github-pages-from-azure-pipelines/
2019-04-16 21:52:58 -07:00
Christian Legnitto
94cc621598
Attempt to fix docs
...
Cribbed from https://cloudblogs.microsoft.com/opensource/2019/04/05/publishing-github-pages-from-azure-pipelines/
and https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/install-ssh-key?view=azure-devops
2019-04-16 21:27:24 -07:00
Christian Legnitto
17e564c6f0
Use bash for docs scripts
...
This is erroring out on CI as `pipefail` is a bash-ism AFAICT.
2019-04-15 21:41:00 -07:00
Christoph Herzog
3165467665
(book) Remove inexistant tutorial link
2019-04-10 03:00:35 +02:00
Christoph Herzog
ff66b89baa
tmp
2019-04-10 02:30:38 +02:00
Muriel Silveira
a75396846d
Fix broken docs links
...
Many links on the documentation were broken because they
were not using the correct relative paths.
2019-04-10 02:19:26 +02:00
Christian Legnitto
327acbd1d9
Make integration tests skip release-related automation ( #341 )
2019-04-08 23:12:14 -07:00
Christian Legnitto
6ff551fcb0
Support fragments with nested types in lookahead
...
Fixes https://github.com/graphql-rust/juniper/issues/335
2019-04-06 19:52:18 +02:00
Christian Legnitto
860aa8b419
Use correct docs build script in CI
2019-04-04 12:12:27 -07:00
Christian Legnitto
e11d0d2535
Remove typo in comment
2019-04-04 09:11:20 +02:00
Christian Legnitto
ba8cfbd105
Add support for the canonical introspection query
...
Fixes https://github.com/graphql-rust/juniper/issues/307 .
2019-04-04 09:11:20 +02:00
Christian Legnitto
d5341e252a
Make build_book_master
run in Linux
...
This was failing because it was running on windows: https://dev.azure.com/graphql-rust/GraphQL%20Rust/_build/results?buildId=223
2019-03-25 19:07:22 -07:00
theduke
dded5fd05d
Merge pull request #330 from theduke/booktmp
...
Merge book into repo
2019-03-23 16:34:11 +01:00
Christoph Herzog
4f72a61346
Formatting...
2019-03-23 14:44:48 +01:00
Christoph Herzog
07486ccb71
(ci) Disable ssh key installation
2019-03-23 14:40:39 +01:00
Christoph Herzog
8bc02037b3
Fix book links in README.md
2019-03-23 14:22:17 +01:00
Christoph Herzog
bd6f192998
Add Object::iter(_mut) return type change to changelog.
2019-03-08 23:06:00 +01:00
Christian Legnitto
287a24675a
Fix TODO for return type
...
We have bumped past the point of this TODO so we can make
the changes.
2019-03-08 23:06:00 +01:00
Christoph Herzog
ca7f9aa253
(ci) CI integration for book
...
* Test book code examples in separate job
* In master branch, build + push book to gh-pages branch
2019-03-08 12:00:43 +01:00
Christoph Herzog
9623e4d326
(book) Update and fix book compilation and tests
...
* Use mdbook for building the book
* Update book config
* Update book hierarchy to work properly with mdbook
This necessitated adding place-holder index pages
since mdbook does not suppoert stand-alon menu items
* Update tests to use 2018 edition
* Fix various compilation errors in the tests
2019-03-08 11:47:13 +01:00
Christoph Herzog
49297afab0
Import book from old stand-alone repo.
...
Imported from https://github.com/graphql-rust/graphql-rust.github.io .
2019-03-08 11:47:13 +01:00
Christoph Herzog
8c5b86e1c6
Allow specifying the Context type in #[derive(GraphQLObject)]
...
This commit extends the GraphQLObject derive to allow specifying a
custom context type.
2019-03-08 11:47:13 +01:00
Christoph Herzog
6562440105
Disable juniper_hyper testing due to rustc bug.
2019-03-06 23:36:21 +01:00
Christian Legnitto
5241455d17
Remove deprecated function calls
...
The replacements were added in 1.30, which we have previously switched to
requiring. This silences two warnings.
2019-03-03 09:43:43 +01:00
Camille TJHOA
a3699ff161
Fix juniper_warp example path ( #323 )
2019-02-20 07:49:16 -07:00
theduke
26f5abe273
Update issue templates
2019-02-03 17:44:16 +01:00
Christian Legnitto
52fb87aaf4
Run cargo fmt
on latest stable
2019-01-28 20:28:03 +01:00
Jakob Gillich
b4a0669b37
Add GraphQL Playground integration ( #317 )
2019-01-25 20:58:01 -08:00
Christian Legnitto
29389e8f72
Fix Azure Pipelines formatting job display name
...
This was showing up as `check_formatting Job`, see https://dev.azure.com/graphql-rust/GraphQL%20Rust/_build/results?buildId=162
2019-01-10 01:39:13 +01:00
Christian Legnitto
fa80bf7de7
Remove unused crate
...
This was throwing a warning during compiling.
2019-01-10 01:38:15 +01:00
theduke
036152efb4
juniper_warp: Fix example link in lib.rs docs
2018-12-30 15:12:58 +01:00
theduke
c7d1481c6e
Fix the literal value of DirectiveLocation::InlineFragment ( #306 )
...
The literal value according to the standard is INLINE_FRAGMENT,
not INLINE_SPREAD.
This oversight leads to invalid introspection schemas and trips up
third party tools.
2018-12-23 07:50:03 -08:00
Christoph Herzog
85ba97dcd9
Clean up introspection tests
...
* Prefix test function names with 'introspection'
* Use graphql_value! macro instead of manual construction
2018-12-23 15:33:47 +01:00
Christian Legnitto
9b021b2fe7
Keep ScalarValue but mark it as deprecated
2018-12-19 20:17:17 +01:00
Christian Legnitto
88c17db8c3
Rename ScalarValue derive
...
Fixes https://github.com/graphql-rust/juniper/issues/299 .
2018-12-19 20:17:17 +01:00
theduke
d015a3ca66
(ci) Check formatting with cargo fmt ( #302 )
...
This adds a new extra CI job for checking the formatting
with cargo fmt --check.
2018-12-19 10:27:49 -08:00