Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
josecorella committed Feb 3, 2025
1 parent 6710b59 commit 7fda868
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2010,8 +2010,10 @@ protected TypeConverter buildConverterFromMethodBodies(
// they will need to wrap and unwrap reference types.
// This is more controlled than exposing
// the NativeWrapper and the Dafny wrapped type.
System.out.println("Shape namespace: " + shape.getId().getNamespace());
System.out.println("Service namespace: " + nameResolver.namespaceForService());
final boolean isDependantModuleType =
ModelUtils.isDependantModuleType(
ModelUtils. isDependantModuleType(
shape,
nameResolver.namespaceForService()
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,8 @@ public static Boolean isDependantModuleType(
final String namespace
) {
final String shapeNamespace = shape.getId().getNamespace();
System.out.println(shapeNamespace);
System.out.println(namespace);
// This *should* work; however, in the case of the DynamoDB and KMS Modules
// the shapeNamespace and the namespace are different, when really they are the same.
if (!shapeNamespace.toLowerCase().startsWith("smithy.api") && !namespace.equalsIgnoreCase(shapeNamespace)) {
return true;
} else {
Expand Down

0 comments on commit 7fda868

Please sign in to comment.