-
Notifications
You must be signed in to change notification settings - Fork 99
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
Make statements always have valid ids #447
Comments
There are a few things to watch out for I think. Here are two (not pretending this is exhaustive):
But perhaps none of these are actually blocking and the change is doable. I'll keep thinking about it. |
@Tpt Can this be closed with conclusion that there are valid use cases for empty statement ID? |
Yes, indeed. |
Currently
Statement
s are allowed to use the""
statement id to tag the statement as new. Then, when editing, thewikibaseapi
module is generating a new valid id and, if a conversion to RDF happens, the RDF converter should do the same.It might make sense to make the
Statement
constructors to generate a new valid id if no id is provided.@wetneb Do you think it make sense? Would it create problems on the API wrapper side to distinguish new statements from edited ones?
Related issue: #166
The text was updated successfully, but these errors were encountered: