https://bugzilla.wikimedia.org/show_bug.cgi?id=49263

       Web browser: ---
            Bug ID: 49263
           Summary: Apply data type specific validators to snak values
                    received by the API
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

The API should check all snak values it receives from a client against the
validators associated with a given data type (aka property type).

Note that these validators are specific to the snak's peroperty type, and apply
to DataValue objects. This is a different layer of validation than the one
applied when constructing DataValue objects (and another layer yet than parsing
data values from strings).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to