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

added resolvement of schema using jsonrefs #269

Merged
merged 2 commits into from
Jun 14, 2016

Conversation

eneufeld
Copy link
Member

Fixes #158

Please make sure you conform to the contributor guidelines and agreed to the contributor license agreement, see https://github.com/eclipsesource/jsonforms/blob/master/CONTRIBUTING.md

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 91.574% when pulling 8088d7f on eneufeld:feat_jsonRefs into 7876ce7 on eclipsesource:master.

dataProvider = this.scope.data;
// this.render(schema, data);
let unresolvedRefs = JsonRefs.findRefs(schema);
if (unresolvedRefs === undefined || Object.keys(unresolvedRefs).length === 0) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Does findRefs ever return undefined? The length check could be replaced with _.size.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 87.634% when pulling caa1ff0 on eneufeld:feat_jsonRefs into 106889b on eclipsesource:master.

@edgarmueller edgarmueller merged commit bd586e1 into eclipsesource:master Jun 14, 2016
@eneufeld eneufeld deleted the feat_jsonRefs branch December 7, 2017 15:08
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.

None yet

3 participants