bluerobotics / bluerobotics/BlueOS
frontend: Fetch types/enums from backend
Open
core
needs-external-change
- Dominant language
- Vue
- Stars
- 453
- Forks
- 151
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 174
Description
Is it possible somehow to get these enums from the backend ? To avoid maintaining two enums in sync.
_Originally posted by @patrickelectric in https://github.com/bluerobotics/companion-docker/pull/439#discussion_r699533676_
We should study the possibility of having the types and enums declared only on the backend, so the frontend can just fetch it and have it in sync.
I suspect we will have problems with type-check and auto-complete, though, since this would be dynamically loaded.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.