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

Remove error message on persons with multiple affiliations #20

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

progval
Copy link
Member

@progval progval commented Jun 14, 2023

eg. it errored with:

"affiliation" must be a Organization object or URI, not [{"@type":"Organization","@id":"http://example.org/"},{"@type":"Organization","@id":"http://example.com/"}]'

which is not true.

This will cause the field to be populated with
[object Object],[object Object] instead of the actual values, which we need to fix eventually, but at least it doesn't incorrectly imply arrays are forbidden by Codemeta (which causes confusion such as codemeta/codemeta#307 (comment))

eg. it errored with:

```
"affiliation" must be a Organization object or URI, not [{"@type":"Organization","@id":"http://example.org/"},{"@type":"Organization","@id":"http://example.com/"}]'
```

which is not true.

This will cause the field to be populated with
`[object Object],[object Object]` instead of the actual values, which we
need to fix eventually, but at least it doesn't incorrectly imply arrays
are forbidden by Codemeta.
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