Update TODOs
This commit is contained in:
parent
4a1d2f7c08
commit
e62d7ab93b
@ -47,8 +47,7 @@ class ObjectsService
|
||||
*/
|
||||
public function persist( array $fields, string $context = 'create' )
|
||||
{
|
||||
// TODO attempt to fetch and create any values that are URLs
|
||||
// TODO JSON-LD compact all objects with the right context before saving them
|
||||
// TODO should I do JSON-LD compaction here?
|
||||
if ( array_key_exists( 'id', $fields ) ) {
|
||||
$existing = $this->getObject( $fields['id'] );
|
||||
if ( $existing ) {
|
||||
|
Loading…
Reference in New Issue
Block a user