From 515f490a35a88fc0ef3fa4fc9400cb19e6850858 Mon Sep 17 00:00:00 2001 From: Kyrylo Tarasenko Date: Thu, 30 Jun 2022 16:59:03 +0300 Subject: [PATCH 1/2] preserve original formatting generated by schema_printer --- graphene_federation/service.py | 1 - 1 file changed, 1 deletion(-) diff --git a/graphene_federation/service.py b/graphene_federation/service.py index f0dbe96..b82e0f7 100644 --- a/graphene_federation/service.py +++ b/graphene_federation/service.py @@ -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) From 4223953c1047439acdca0055585a7b4f3f72b3ef Mon Sep 17 00:00:00 2001 From: Kyrylo Tarasenko Date: Fri, 8 Jul 2022 13:41:10 +0300 Subject: [PATCH 2/2] upd lib version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 16c9ee0..f55ec64 100644 --- a/setup.py +++ b/setup.py @@ -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',