Skip to content

Commit

Permalink
feat: print graphql model ids
Browse files Browse the repository at this point in the history
  • Loading branch information
doctrino committed Dec 11, 2024
1 parent d98d1e1 commit 92ec766
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from __future__ import annotations

import re
import sys
from collections import defaultdict
from collections.abc import Hashable, Iterable, Sequence
from functools import lru_cache
Expand Down Expand Up @@ -1175,6 +1176,8 @@ def create(self, items: GraphQLDataModelWriteList) -> list[DMLApplyResult]:
print(LowSeverityWarning(f"Description is above limit for {item_id}. Truncating..."))
description = description[: 1024 - len(suffix) + 1 - 3] + "..."
description += f" {suffix}"
if "--verbose" in sys.argv:
print(f"Deploying GraphQL schema {item_id}")

created = self.client.dml.apply_dml(
item.as_id(),
Expand Down

0 comments on commit 92ec766

Please sign in to comment.