Skip to content

refactor(mappingutils): use correct logger and remove log stuffing on… - #209

Merged
nico-mcalley merged 2 commits into
masterfrom
feature/refactor-mapper-log
May 3, 2024
Merged

nico-mcalley merged 2 commits into
masterfrom
feature/refactor-mapper-log

Conversation

@neo-reply-lukas

Copy link
Copy Markdown
Collaborator

… unresolved references

@nico-mcalley nico-mcalley left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change looks good and works fine, but let us discuss my questions please.

Comment thread src/modules/MappingUtils.ts Outdated
resolvedReferences
).join('],[')}]}`
logger?.warn(
`[denormalizeResolvedReferences] Unable to find object [${referencedId}] during denormalization.`

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you drop the keys?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wouldn't it be good to debug log the resolved references keys?

@nico-mcalley
nico-mcalley merged commit ff2253c into master May 3, 2024
@nico-mcalley
nico-mcalley deleted the feature/refactor-mapper-log branch May 3, 2024 13:59
github-actions Bot pushed a commit that referenced this pull request May 3, 2024
## [10.22.2](v10.22.1...v10.22.2) (2024-05-03)

### Bug Fixes

* **mappingutils:** use correct logger ([#209](#209)) ([ff2253c](ff2253c))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants