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

feat: RDF Object Mapper PoC #3447

Draft
wants to merge 7 commits into
base: develop
Choose a base branch
from
Draft

Conversation

hectoras
Copy link
Contributor

@hectoras hectoras commented Mar 10, 2022

Associated Jira issue: ADF-1174

@hectoras hectoras force-pushed the experimental/rdf-object-mapper branch from d8e46fc to 4f782b5 Compare March 10, 2022 15:05
@hectoras hectoras changed the title feat: PoC for Object Mapper feat: RDF Object Mapper PoC Mar 10, 2022
@hectoras hectoras changed the base branch from master to develop March 10, 2022 15:33
@github-actions
Copy link

Version

Target Version 50.6.0
Last version 50.5.1

There are 0 BREAKING CHANGE, 1 feature, 0 fix

@gabrielfs7 gabrielfs7 self-requested a review March 17, 2022 15:19
Comment on lines +25 to +27
public const URI = 1;
public const LABEL = 2;
public const COMMENT = 3;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Having only LITERAL (for copying values as-is) and RESOURCE (for URIs pointing to other resources) may suffice.

The former values types here were matching exactly the fields used for the PoC (basically attributes currently found in core_kernel_classes_Resource; as well as having a URI type to hold resource URIs (for example, URIs used as primary identifiers for resources).

This may be combined with PHP 7.4+ property type hints as well to validate things like conversions to integer etc.

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.

1 participant