Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #68 from SaulTigh/preserve_original_schema_formatting
Browse files Browse the repository at this point in the history
preserve original formatting generated by schema_printer
SaulTigh authored Aug 3, 2022
2 parents 33b6fce + 4223953 commit 4904f43
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion graphene_federation/service.py
Original file line number Diff line number Diff line change
@@ -47,7 +47,6 @@ def _mark_provides(entity_name, entity, schema, auto_camelcase):

def get_sdl(schema, custom_entities):
string_schema = str(schema)
string_schema = string_schema.replace("\n", " ")

regex = r"schema \{(\w|\!|\s|\:)*\}"
pattern = re.compile(regex)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()

version = '0.1.0'
version = '0.2.0'

setup(
name = 'graphene-federation',

0 comments on commit 4904f43

Please sign in to comment.