mirror of
https://github.com/encounter/JSONAPI.git
synced 2026-03-30 11:18:38 -07:00
Finish renaming all things 'Entity' to 'ResourceObject'
This commit is contained in:
@@ -54,8 +54,8 @@ private protocol _AttributeType {}
|
||||
extension TransformedAttribute: _AttributeType {}
|
||||
extension Attribute: _AttributeType {}
|
||||
|
||||
public extension Entity {
|
||||
static func check(_ entity: Entity) throws {
|
||||
public extension ResourceObject {
|
||||
static func check(_ entity: ResourceObject) throws {
|
||||
var problems = [EntityCheckError]()
|
||||
|
||||
let attributesMirror = Mirror(reflecting: entity.attributes)
|
||||
|
||||
Reference in New Issue
Block a user