Christoph Herzog
166c6d00c5
(tooling) Update release config to bump doc_root.
2019-05-15 11:20:51 +02:00
Yusuke Sasaki
0ae2475bb8
add #[doc(html_root_url)]
to all published crates
2019-05-15 11:20:51 +02:00
theduke
06eee4c1a7
Add current / master book links to README
2019-05-14 16:04:29 +02:00
theduke
61f288b54c
Merge pull request #333 from theduke/graphql-object-proc-macro
...
Graphql object proc macro
2019-05-14 08:46:56 +02:00
Christoph Herzog
29025e6cae
Rename impl_object to object.
2019-05-13 21:15:14 +02:00
Christoph Herzog
520cac29a0
(codegen) Allow #[deprecated] on field in impl_object
2019-05-13 12:37:22 +02:00
Christoph Herzog
db0d5952dd
Formatting
2019-05-13 12:35:14 +02:00
Christoph Herzog
ffe00b9fa3
Fix release tooling for juniper_codegen
...
Patch juniper_codegen dev dependency on juniper.
2019-05-12 21:31:15 +02:00
Christoph Herzog
552b4d01ac
(codegen) Fix test dependency version to be exact.
...
Needed for releasing automation.
2019-05-12 21:03:52 +02:00
Christoph Herzog
de12e0eba5
Formatting...
2019-05-12 10:49:46 +02:00
Christoph Herzog
3cc142bfbc
Bump minimum rust version to 1.34
2019-05-12 10:49:40 +02:00
Christoph Herzog
67b28c5e89
(codegen) Remove (extern crate self) declaration
2019-05-12 10:36:30 +02:00
Christoph Herzog
52d7af2b8e
Remove internal macros from export + improve macro doc system.
...
Remove the internal macros from re-export.
This was a mistake.
Also, import each item from juniper_codegen manually to enable
rustdoc integration.
2019-05-12 10:36:30 +02:00
Christoph Herzog
f72f808be3
(warp) impl_object refactor
2019-05-12 10:36:30 +02:00
Christoph Herzog
1b30e012ae
(iron) impl_object refactor
2019-05-12 10:36:30 +02:00
Christoph Herzog
693405afa5
(book) impl_object refactor
2019-05-12 10:36:30 +02:00
Christoph Herzog
bf50c3eb86
Integration tests: impl_object refactor
2019-05-12 10:36:30 +02:00
Christoph Herzog
a993c16b85
Deprecate graphql_object! and replace with impl_object
...
This commit deprecates the graphql_object macro and replaces
all of it's uses with the new impl_object proc macro.
(Except for the old macro tests).
This commit also adds new integration tests for impl_object.
2019-05-12 10:36:30 +02:00
Christoph Herzog
758f3f7d40
(codegen) Implement impl_object macro + unify code with object derive
...
This commit implements a new proc macro `impl_object` that replaces
the old graphql_object! macro.
The code shares a lot of similarities with the GraphQLObject
custom derive, so the code was unified to handle both
more generically.
Also, doc comment processing was standardized and improved.
2019-05-12 10:35:03 +02:00
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