Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

ATLAS-1879 update types again, after updateGraphStore#39

Open
bpgergo wants to merge 2 commits intoapache:0.8-incubatingfrom
bpgergo:0.8-incubating
Open

ATLAS-1879 update types again, after updateGraphStore#39
bpgergo wants to merge 2 commits intoapache:0.8-incubatingfrom
bpgergo:0.8-incubating

Conversation

@bpgergo
Copy link
Copy Markdown

@bpgergo bpgergo commented Jul 26, 2017

No description provided.

AtlasTypesDef ret = updateGraphStore(typesDef, ttr);

try {
ttr.updateTypesWithNoRefResolve(ret);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Call updateTypes(), instead of updateTypesWithNoRefResolve() - "*WithNoRefResolve()" calls will not run resolveReferences() hence will leave type objects with no reference to other types (for example: an entity-type will not have its references set for other entity-types references by it).

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mneethiraj, thanks for your comment, I got you and I fixed that

@mneethiraj
Copy link
Copy Markdown
Contributor

+1 for the patch. Thanks @bpgergo.

Since this pull request is on a readonly repo, this can't be merged. Atlas team uses review board (https://reviews.apache.org/) for code review. I would suggest to use review board for patches.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants