Skip to content

Commit

Permalink
Merge pull request #661 from pjdelport/fix-GitHub-link-tags
Browse files Browse the repository at this point in the history
Fix broken GitHub link tags: 2.0 -> v2.0.0
  • Loading branch information
syrusakbary committed Feb 8, 2018
2 parents 4e5a497 + 368a2a0 commit da0b2c6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion UPGRADE-v2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ developer has to write to use them.


> The type metaclasses are now deleted as they are no longer necessary. If your code was depending
> on this strategy for creating custom attrs, see an [example on how to do it in 2.0](https://github.com/graphql-python/graphene/blob/2.0/graphene/tests/issues/test_425.py).
> on this strategy for creating custom attrs, see an [example on how to do it in 2.0](https://github.com/graphql-python/graphene/blob/v2.0.0/graphene/tests/issues/test_425.py).
## Deprecations

Expand Down
2 changes: 1 addition & 1 deletion graphene/relay/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def type(self):
if is_node(type):
raise Exception(
"ConnectionField's now need a explicit ConnectionType for Nodes.\n"
"Read more: https://github.com/graphql-python/graphene/blob/2.0/UPGRADE-v2.0.md#node-connections"
"Read more: https://github.com/graphql-python/graphene/blob/v2.0.0/UPGRADE-v2.0.md#node-connections"
)

assert issubclass(connection_type, Connection), (
Expand Down
2 changes: 1 addition & 1 deletion graphene/types/abstracttype.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ class AbstractType(SubclassWithMeta):
def __init_subclass__(cls, *args, **kwargs):
warn_deprecation(
"Abstract type is deprecated, please use normal object inheritance instead.\n"
"See more: https://github.com/graphql-python/graphene/blob/2.0/UPGRADE-v2.0.md#deprecations"
"See more: https://github.com/graphql-python/graphene/blob/v2.0.0/UPGRADE-v2.0.md#deprecations"
)
super(AbstractType, cls).__init_subclass__(*args, **kwargs)
3 changes: 2 additions & 1 deletion graphene/types/mutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def __init_subclass_with_meta__(cls, resolver=None, output=None, arguments=None,
warn_deprecation((
"Please use {name}.Arguments instead of {name}.Input."
"Input is now only used in ClientMutationID.\n"
"Read more: https://github.com/graphql-python/graphene/blob/2.0/UPGRADE-v2.0.md#mutation-input"
"Read more:"
" https://github.com/graphql-python/graphene/blob/v2.0.0/UPGRADE-v2.0.md#mutation-input"
).format(name=cls.__name__))

if input_class:
Expand Down

0 comments on commit da0b2c6

Please sign in to comment.