https://github.com/skorfmann/wing-custom-platform-aspect
https://github.com/skorfmann/wing-custom-platform-aspect
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/skorfmann/wing-custom-platform-aspect
- Owner: skorfmann
- Created: 2023-12-06T12:37:48.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-06T15:04:30.000Z (almost 2 years ago)
- Last Synced: 2025-02-14T03:51:07.396Z (8 months ago)
- Language: JavaScript
- Size: 47.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wing-custom-platform-aspect
for https://github.com/winglang/wing/issues/5151
```
npm install
```### not working
a deeply nested required aspect is not invoked
[not-working-platform](./not-working/index.js)
```
wing compile -t ./not-working main.w
newApp called
presynth called
MyAspect got created
```### working
the same aspect referenced from the platform entrypoint works
[working-platform](./working/index.js)
```
wing compile -t ./working main.w
newApp called
presynth called
MyAspect got called
MyAspect got called
MyAspect got called
MyAspect got called
MyAspect got called
MyAspect got called
MyAspect got called
MyAspect got called
MyAspect got called
MyAspect got called
MyAspect got called
MyAspect got called
MyAspect got called
MyAspect got called
MyAspect got called
MyAspect got called
MyAspect got called
MyAspect got called
MyAspect got called
MyAspect got called
```