Skip to content

adopt new grammar-JSON transformation API endpoints#960

Merged
akphi merged 1 commit intofinos:masterfrom
akphi:parsef
May 23, 2022
Merged

adopt new grammar-JSON transformation API endpoints#960
akphi merged 1 commit intofinos:masterfrom
akphi:parsef

Conversation

@akphi
Copy link
Contributor

@akphi akphi commented Mar 14, 2022

Summary

Closes #877

Note: we should wait for finos/legend-engine#595 to be merged first

How did you test this change?

  • Test(s) added
  • Manual testing (please provide screenshots/recordings)
  • No testing (please provide an explanation)

@changeset-bot
Copy link

changeset-bot bot commented Mar 14, 2022

🦋 Changeset detected

Latest commit: 1e71aee

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 29 packages
Name Type
@finos/legend-graph Major
@finos/legend-manual-tests Patch
@finos/legend-query Patch
@finos/legend-shared Patch
@finos/legend-studio Patch
@finos/legend-application Patch
@finos/legend-extension-dsl-data-space Patch
@finos/legend-extension-dsl-diagram Patch
@finos/legend-extension-dsl-persistence Patch
@finos/legend-extension-dsl-text Patch
@finos/legend-extension-external-format-json-schema Patch
@finos/legend-extension-external-language-morphir Patch
@finos/legend-extension-external-store-service Patch
@finos/legend-extension-mapping-generation Patch
@finos/legend-graph-extension-collection Patch
@finos/legend-studio-extension-query-builder Patch
@finos/legend-taxonomy Patch
@finos/legend-query-app Patch
@finos/legend-art Patch
@finos/legend-model-storage Patch
@finos/legend-server-depot Patch
@finos/legend-server-sdlc Patch
@finos/legend-studio-app Patch
@finos/legend-studio-extension-management-toolkit Patch
@finos/legend-taxonomy-app Patch
@finos/legend-tracer-extension-zipkin Patch
@finos/legend-query-deployment Patch
@finos/legend-studio-deployment Patch
@finos/legend-taxonomy-deployment Patch

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

@finos-cla-bot finos-cla-bot bot added the cla-present CLA Signed label Mar 14, 2022
@akphi akphi marked this pull request as draft March 14, 2022 22:35
@akphi akphi force-pushed the parsef branch 3 times, most recently from c35dc31 to 3d00891 Compare March 15, 2022 02:08
@akphi akphi assigned akphi and unassigned akphi Mar 24, 2022
@akphi akphi marked this pull request as ready for review March 24, 2022 02:41
@akphi akphi force-pushed the parsef branch 3 times, most recently from a5ac0b6 to 24d02e8 Compare March 24, 2022 16:47
@akphi akphi marked this pull request as draft March 24, 2022 16:48
@akphi
Copy link
Contributor Author

akphi commented Mar 24, 2022

@cla-bot[bot] check

@akphi akphi force-pushed the parsef branch 2 times, most recently from ef44284 to cd35af2 Compare March 24, 2022 21:22
@akphi akphi force-pushed the parsef branch 2 times, most recently from 0a066d9 to 39e6589 Compare May 23, 2022 14:27
@akphi akphi marked this pull request as ready for review May 23, 2022 16:37
@codecov
Copy link

codecov bot commented May 23, 2022

Codecov Report

Merging #960 (1e71aee) into master (b911ee7) will decrease coverage by 0.02%.
The diff coverage is 27.27%.

@@            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              
Impacted Files Coverage Δ
...graph/src/graphManager/AbstractPureGraphManager.ts 100.00% <ø> (ø)
...eableElements/domain/ConcreteFunctionDefinition.ts 100.00% <ø> (ø)
...pure/packageableElements/domain/DerivedProperty.ts 100.00% <ø> (ø)
...lements/mapping/MergeOperationSetImplementation.ts 0.00% <ø> (ø)
...gregationAware/AggregationFunctionSpecification.ts 100.00% <ø> (ø)
...g/aggregationAware/GroupByFunctionSpecification.ts 100.00% <ø> (ø)
...metamodels/pure/rawValueSpecification/RawLambda.ts 100.00% <ø> (ø)
...rc/models/protocols/pure/v1/V1_PureGraphManager.ts 54.39% <0.00%> (+0.14%) ⬆️
...l/packageableElements/domain/V1_DerivedProperty.ts 100.00% <ø> (ø)
...Elements/function/V1_ConcreteFunctionDefinition.ts 100.00% <ø> (ø)
... and 20 more

)) as RawLambda;
this.setParserError(undefined);
this.functionElement.body = lambda ? (lambda.body as object[]) : [];
this.functionElement.body = lambda.body as object[];
Copy link
Member

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 ?

@akphi akphi merged commit 6ed0fcb into finos:master May 23, 2022
@akphi akphi deleted the parsef branch May 23, 2022 19:59
akphi pushed a commit to akphi/legend-studio that referenced this pull request May 31, 2022
MauricioUyaguari pushed a commit that referenced this pull request Jun 1, 2022
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-present CLA Signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Use the new engine API endpoints for grammar-JSON conversion

2 participants

Comments