Issue #3785
closedpulpcore-plugin does not have documentation for ModelSerializer.validate()
Description
In https://github.com/pulp/pulp/pull/3531 we added extra validation such that if extra parameters that are not defined are passed to the serializer, it will raise a `serializers.ValidationError`.
The plugin API documentation is missing a description for ModelSerializer.validate()[0]. Plugin writers would benefit from knowing the type of validation provided by pulpcore.
Related issues
Updated by muattiyah over 6 years ago
- Related to Issue #2970: REST API silently ignores object attributes that don't exist on the serializer added
Updated by bmbouter over 5 years ago
- Project changed from 27 to Pulp
The plugin template Redmine project is being consolidated into the Pulp Redmine project so all issues are being moved over.
Updated by amacdona@redhat.com over 5 years ago
- Sprint/Milestone set to 3.0.0
- Triaged changed from No to Yes
- Sprint set to Sprint 52
Updated by dkliban@redhat.com over 5 years ago
- Subject changed from Document that plugin implementors will have to call super().validate() on their serializers. to Update plugin_template with a call to super().validate() for the serializers validate methods
- Tags deleted (
Documentation)
Updated by bmbouter over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to bmbouter
Updated by amacdona@redhat.com over 5 years ago
- Sprint changed from Sprint 53 to Sprint 54
Updated by dkliban@redhat.com over 5 years ago
- Sprint changed from Sprint 55 to Sprint 56
Updated by dkliban@redhat.com over 5 years ago
This looks like a documentation story to me. We need to add a description for the validate() method on ModelSerializer[0] so plugin writers can know what kind of validation is already being performed for their Models.
Updated by bmbouter over 5 years ago
- Status changed from ASSIGNED to NEW
- Assignee deleted (
bmbouter)
I am not actively working on this.
Updated by dkliban@redhat.com over 5 years ago
- Subject changed from Update plugin_template with a call to super().validate() for the serializers validate methods to pulpcore-plugin does not have documentation for ModelSerializer.validate()
- Description updated (diff)
Updated by daviddavis over 4 years ago
- Status changed from NEW to CLOSED - WONTFIX