Skip to content
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

A comprehensive error handling strategy of pulling entities #519

Open
4 tasks
YannanGao-gs opened this issue Sep 22, 2022 · 0 comments
Open
4 tasks

A comprehensive error handling strategy of pulling entities #519

YannanGao-gs opened this issue Sep 22, 2022 · 0 comments
Assignees

Comments

@YannanGao-gs
Copy link
Contributor

YannanGao-gs commented Sep 22, 2022

Feature Request

Description of Problem:

When supporting function overloading, the changes made in Engine Parser cause an issue of pulling entities from Gitlab.
This inspires supporting a comprehensive error handling strategy for all breaking grammar changes or any reason, which avoids providing workarounds for each different case.

Potential Solutions:

  • Provide an API for getting an entities with an option of turning off error exceptions.
    Similar to GET [​/projects​/{projectId}​/groupWorkspaces​/{workspaceId}​/entities(http://localhost:7070/api/swagger#/Entities/getAllEntities_12) Get entities of the group workspace, getAllEntities API will have a parameter that is used for passing through all validations even if there are corrupted entities due to non-backward-compatible grammar changes.

  • Provide an API for getting all corrupted entities

  • Generate useful/concrete failure analysis and throw corresponding exceptions

  • Create a mechanism(APIs) to fix all corrupted entities

@YannanGao-gs YannanGao-gs self-assigned this Sep 22, 2022
@MauricioUyaguari MauricioUyaguari changed the title A comprehensive error handling strategy of pulling entities for non-backward-compatible changes A comprehensive error handling strategy of pulling entities for non-backward-compatible grammar changes Sep 22, 2022
@YannanGao-gs YannanGao-gs added depends on engine depends on engine and removed depends on engine depends on engine labels Sep 27, 2022
@YannanGao-gs YannanGao-gs changed the title A comprehensive error handling strategy of pulling entities for non-backward-compatible grammar changes A comprehensive error handling strategy of pulling entities Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant