-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adopt new grammar-JSON transformation API endpoints #960
Conversation
🦋 Changeset detectedLatest commit: 1e71aee The changes in this PR will be included in the next version bump. This PR includes changesets to release 29 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
c35dc31
to
3d00891
Compare
a5ac0b6
to
24d02e8
Compare
@cla-bot[bot] check |
ef44284
to
cd35af2
Compare
0a066d9
to
39e6589
Compare
Codecov Report
@@ Coverage Diff @@
## master #960 +/- ##
==========================================
- Coverage 42.45% 42.43% -0.03%
==========================================
Files 1140 1135 -5
Lines 50247 50250 +3
Branches 11524 11515 -9
==========================================
- Hits 21333 21323 -10
- Misses 28843 28856 +13
Partials 71 71
|
this.setParserError(undefined); | ||
this.functionElement.body = lambda ? (lambda.body as object[]) : []; | ||
this.functionElement.body = lambda.body as object[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did we validate a lambda of empty string works with this ?
…rror in text-mode
* upgrade Yarn@3.2.1 * fix a regression introduced by #960 where empty grammar causes error in text-mode * eslint: turn off prettier check in CI to speed up lint check * Add CodeQL scan * bump dependencies
Summary
Closes #877
Note: we should wait for finos/legend-engine#595 to be merged first
BLOCKER
Since it doesn't make sense to forceengine
to use the batch ID (the Id of the lambda string in the map of input/payload for batch APIs) assourceId
(because in the perspective ofengine
,sourceId
represents the file, and multiple lambdas can be in the same file, butbatch ID
is unique), we can't really make this work with Studio, asStudio
relies on this for compilation to be able to reveal the error, so we would have to discuss with @pierredebelen to see what we could do to makeengine
support setting thesourceId
- resolved in support setting offsetSource Information
for grammar parser APIs legend-engine#682TEMPORARY__pruneSourceInformation
consistentlyhashLambda
->hashRawLambda
TODO
we need to wait for fix NPE exceptions when grammar parser works with external format and relational DB connections legend-engine#692 to make use ofreturnSourceInformation
flagHow did you test this change?