mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 12:44:15 +03:00
Merge pull request #661 from pjdelport/fix-GitHub-link-tags
Fix broken GitHub link tags: 2.0 -> v2.0.0
This commit is contained in:
commit
da0b2c6805
|
@ -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
|
> 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
|
## Deprecations
|
||||||
|
|
||||||
|
|
|
@ -102,7 +102,7 @@ class IterableConnectionField(Field):
|
||||||
if is_node(type):
|
if is_node(type):
|
||||||
raise Exception(
|
raise Exception(
|
||||||
"ConnectionField's now need a explicit ConnectionType for Nodes.\n"
|
"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), (
|
assert issubclass(connection_type, Connection), (
|
||||||
|
|
|
@ -7,6 +7,6 @@ class AbstractType(SubclassWithMeta):
|
||||||
def __init_subclass__(cls, *args, **kwargs):
|
def __init_subclass__(cls, *args, **kwargs):
|
||||||
warn_deprecation(
|
warn_deprecation(
|
||||||
"Abstract type is deprecated, please use normal object inheritance instead.\n"
|
"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)
|
super(AbstractType, cls).__init_subclass__(*args, **kwargs)
|
||||||
|
|
|
@ -50,7 +50,8 @@ class Mutation(ObjectType):
|
||||||
warn_deprecation((
|
warn_deprecation((
|
||||||
"Please use {name}.Arguments instead of {name}.Input."
|
"Please use {name}.Arguments instead of {name}.Input."
|
||||||
"Input is now only used in ClientMutationID.\n"
|
"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__))
|
).format(name=cls.__name__))
|
||||||
|
|
||||||
if input_class:
|
if input_class:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user