Skip to content

A comprehensive error handling strategy of pulling entities #519

@irisyngao

Description

@irisyngao

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions