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

Add basic scheme for entities, types, ids and relations #8

Merged
merged 1 commit into from
Feb 15, 2017
Merged

Add basic scheme for entities, types, ids and relations #8

merged 1 commit into from
Feb 15, 2017

Conversation

dstoc
Copy link
Contributor

@dstoc dstoc commented Feb 13, 2017

No description provided.

@dstoc
Copy link
Contributor Author

dstoc commented Feb 13, 2017

This is still a bit of a mess. The Particle class is still broken since we'll need to introduce some concept of type aliases.

Copy link
Contributor

@shans shans left a comment

Choose a reason for hiding this comment

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

LGTM so far, I think it's fine to commit this and build on it.

@@ -34,8 +34,8 @@ class Particle {
commitData() {
this.definition.args.forEach(arg => {
if (arg.direction == "out")
data.viewFor(arg.type).store(this[arg.name]);
});
data.internals.viewFor(arg.type).store(this[arg.name]);
Copy link
Contributor

Choose a reason for hiding this comment

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

why not use commit here? Wouldn't that solve the aliasing problem?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it should, but particle is still broken atm.

@shans shans merged commit 824c6f0 into PolymerLabs:master Feb 15, 2017
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

Successfully merging this pull request may close these issues.

2 participants