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

[Ruby] Loading concepts fails #3

Closed
mkllnk opened this issue Oct 5, 2023 · 2 comments
Closed

[Ruby] Loading concepts fails #3

mkllnk opened this issue Oct 5, 2023 · 2 comments

Comments

@mkllnk
Copy link
Contributor

mkllnk commented Oct 5, 2023

Loading vocabularies fails with the old and new version of vocabularies. With the old version it shows an error in the parser:

def createSKOSConcept(element)
skosConcept = DataFoodConsortium::Connector::SKOSConcept.new
skosConcept.semanticId = element.id
skosConcept.semanticType = element.type
return skosConcept
end

The parser tries to create a concept without giving it its mandatory semantic id.

I also tried the new files but encountered the same error as the current version of the ruby connector raises:

@lecoqlibre
Copy link
Member

Hi @mkllnk can you try it using the issue3 branch of this repo with the codegen-issue3 branch of the data-model-uml repo?

@mkllnk
Copy link
Contributor Author

mkllnk commented Nov 3, 2023

Yes, that solves the issue. Can you merge?

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

No branches or pull requests

2 participants