Fix circular references in AtlasMap UI
See original GitHub issueThe following circular dependencies have been found. This might lead to scenarios where a particular dependency is imported as undefined
from and import { ... } from '...'
statement:
- src/app/lib/atlasmap-data-mapper/common/data.mapper.util.ts -> src/app/lib/atlasmap-data-mapper/models/config.model.ts -> src/app/lib/atlasmap-data-mapper/models/document.definition.model.ts -> src/app/lib/atlasmap-data-mapper/common/data.mapper.util.ts
- src/app/lib/atlasmap-data-mapper/components/document.definition.component.ts -> src/app/lib/atlasmap-data-mapper/components/line.machine.component.ts -> src/app/lib/atlasmap-data-mapper/components/document.definition.component.ts
- src/app/lib/atlasmap-data-mapper/components/line.machine.component.ts -> src/app/lib/atlasmap-data-mapper/components/document.definition.component.ts -> src/app/lib/atlasmap-data-mapper/components/line.machine.component.ts
- src/app/lib/atlasmap-data-mapper/models/config.model.ts -> src/app/lib/atlasmap-data-mapper/models/document.definition.model.ts -> src/app/lib/atlasmap-data-mapper/models/field.model.ts -> src/app/lib/atlasmap-data-mapper/models/config.model.ts
- src/app/lib/atlasmap-data-mapper/models/document.definition.model.ts -> src/app/lib/atlasmap-data-mapper/models/field.model.ts -> src/app/lib/atlasmap-data-mapper/models/document.definition.model.ts
- src/app/lib/atlasmap-data-mapper/models/field.model.ts -> src/app/lib/atlasmap-data-mapper/models/document.definition.model.ts -> src/app/lib/atlasmap-data-mapper/models/field.model.ts
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
How to save java objects with circular references with Morphia ...
1 Answer 1 ... I think you need to add @Reference in City when referring back to SMPPlayer . Otherwise it's trying to...
Read more >BeanCurrentlyInCreationException with Spring Boot 2.6 and ...
This is triggered when two mappers reference each other and thus ... it is recommended to resolve possible circular references if possible.
Read more >Dear Diary - Paper SkyUI Menus Replacer SE - Nexus Mods
This is the paper interface replacer for almost all SkyUI menus (and most of those UI elemets that are not covered by SkyUI)....
Read more >Add a polygon extrusion layer to a map - Microsoft Learn
This article shows you how to use the polygon extrusion layer to render areas of Polygon and MultiPolygon feature geometries as extruded shapes....
Read more >Using MATLAB Graphics
Note that the sphere is not round. The next picture shows how the Fixed Aspect Ratio Axes option results in a sphere that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@deeleman - Hey Pablo - Paul here (@pleacu) - I was looking at this trivial fcn:
https://github.com/atlasmap/atlasmap/blob/master/ui/src/app/lib/atlasmap-data-mapper/common/data.mapper.util.ts#L45
It’s causing a circular dependency in several components - I was considering moving it to config.model.ts since it’s generating a config.model specific error - wdyt???
https://github.com/atlasmap/atlasmap/pull/306
the dependency stack goes: lineMachine > docDefInput/ docDefOutput > lineMachine When you scroll the ‘Sources’ or ‘Targets’ document-definition it’s necessary to adjust the line mappings. Instead of calling the lineMachine directly (set up via Angular input) the docDef code now throws a custom event which the lineMachine catches in order to redraw the mapping lines.