You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "wuzhiguo (Jira)" <ji...@apache.org> on 2021/11/15 07:03:00 UTC
[jira] [Created] (ATLAS-4478) Suggestion: Add "isInternal" field for typedefs
wuzhiguo created ATLAS-4478:
-------------------------------
Summary: Suggestion: Add "isInternal" field for typedefs
Key: ATLAS-4478
URL: https://issues.apache.org/jira/browse/ATLAS-4478
Project: Atlas
Issue Type: Wish
Components: atlas-core
Reporter: wuzhiguo
Currently I found typedef update is kind complicated. we can add attribute from rest or change /models from directly, but the second way we should upgrade version field.
And we cannot delete attributes from entity or change datatype for entities.
Here is my suggestion:
Every typedef create from /models module will be marked as "internal" and has limited access(like cannot delete attributes, cannot change attribute datatype), and can only update by patch file. but typedef create from rest interface will be marked as "external" and has full access(delete entity attributes will also delete attributes in related instance, delete typedef will delete all related instances and etc.)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)