Feature request: Discrepancies in behavior of graph builder and engine
compiler
#941
Closed
7 of 9 tasks
Labels
Component: Graph Manager
Issues related to graph processing and management (including interaction with engine server) logic
Studio Core Team
Opened by a member of the Studio core team
Type: Feature Request
Type: Mega-thread
Tracker for multiple related issues
Milestone
Similar requests
How are you using Studio?
No response
What problems are you trying to solve?
We build the graph of meta-models, so does
engine
, but since we support edition, sometimes, we are stricter or less strict about several checks. This is a mega-thread to keep track of these cases:It's not wrong per se for our graph builder to fail, however, for users who migrated from
Pure IDE
toLegend Studio
this could be a blocker since they don't have an environment to fix these errors productively.Describe the solution you would like to see implemented
The strategy we agreed upon is to relax our graph-builder and not to hard-fail on these errors, but only issue warnings, see #883.
Engine
will now detect these issues and return them as warnings and we will block users from saving should we detect these kinds of problems in users' modelengine
to return this as a warning as part of the compilation result - @pierredebelenDisable saving when there are warnings- @MauricioUyaguari and I think this is too disruptive at the moment and so we won't do it in the first go.problems
inauxiliary panel
for warnings found. We can also show somewhere in the UI that we have warnings, for this to work, we need to show it in the status bar somewhere (seevscode
) and consider doing something similar to what we have in Feature request: Supportchange detection
in query builder #1368 - e.g. every time we hit F9, store a hashcodetext mode
we can support showing these warnings in yellow squiggle underlines (i.e. markers), and allow clicking from the auxiliary panel to go to error based onsource information
graph-builder
: these errors are the ones mentioned above, this way, we could test these validations better. In production environment, we could turn this flag off so we don't throw error, otherwise, we will just print warning about this - i.e.strict-mode
Describe alternatives you have considered
No response
Documentation, Design, Adoption, Migration Strategy
No response
Contribution
The text was updated successfully, but these errors were encountered: