Skip to content

Commit

Permalink
Enable non-http WSDL definitions attributes (#6980)
Browse files Browse the repository at this point in the history
  • Loading branch information
gilgardosh committed May 16, 2024
1 parent e1d09cb commit e8fdfa3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/polite-wombats-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@omnigraph/soap": minor
---

Enable non-http WSDL definitions attributes
2 changes: 1 addition & 1 deletion packages/loaders/soap/src/SOAPLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ export class SOAPLoader {
const aliasMap = new Map<string, string>();
for (const attributeName in attributes) {
const attributeValue = attributes[attributeName];
if (attributeName !== 'targetNamespace' && attributeValue.startsWith('http')) {
if (attributeName !== 'targetNamespace') {
aliasMap.set(attributeName, attributeValue);
}
}
Expand Down

0 comments on commit e8fdfa3

Please sign in to comment.