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
feat(resource-instance): add subclass creation support (DEV-553) #686
Conversation
… during the creation of a resource
# Conflicts: # src/app/workspace/resource/resource-instance-form/select-properties/switch-properties/switch-properties.component.html
@kilchenmann to test this, use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will check out the branch and test it. Here only a few comments after a quick code review.
// console.log('parentResource: ', this.parentResource); | ||
// console.log('propDef: ', this.propDef); | ||
// console.log('resourceClassDef: ', this.resourceClassDef); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we remove these commented lines?
@@ -82,6 +86,7 @@ export class CreateLinkResourceComponent implements OnInit { | |||
} | |||
|
|||
onSubmit() { | |||
console.log('clicked'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should also be removed.
@@ -128,7 +130,7 @@ export class DisplayEditComponent implements OnInit { | |||
} | |||
|
|||
ngOnInit() { | |||
|
|||
this.ontoIri = this.parentResource.type.split('#')[0]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice solution 👍
// console.log('parentResource: ', this.parentResource); | ||
// console.log('linkType: ', linkType); | ||
// console.log('restrictToResourceClass: ', this.restrictToResourceClass); | ||
// console.log('resourceClasses: ', this.resourceClasses); | ||
// console.log('ontoIri: ', this.ontoIri); | ||
// console.log('propIri: ', this.propIri); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we remove these commented console logs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed all the console logs in a61671a 🙈
I added a colon in 0222dd1 |
Thank you! |
resolves DEV-553