-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
[WIP] Setcontent refactor #303
Conversation
@xiaohutai Could you also take a look at this? :-) See also #194 |
…tryxx/refactor/setcontent-for-front
@stryxx rebase to master |
Checklist copied from #116. API won't be 100% the same, but functionality should be kept. Basic
WHERE
WHERE advanced
Special
AdvancedPagination and Search are not implemented yet.
Misc
|
@@ -61,11 +61,19 @@ class Field implements Translatable | |||
public $name; | |||
|
|||
/** | |||
* @ORM\Column(type="json") | |||
* @ORM\Column(type="string", length=4294967295) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type=text or json_array
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @Groups({"put"}) | ||
* @Gedmo\Translatable | ||
* | ||
* @var string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's store it in model as array
} | ||
} | ||
|
||
$expressions[] = call_user_func_array([$expr, 'orX'], $orExpressions); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
closures
|
||
private function getFieldOperation(string $fieldName): array | ||
{ | ||
$exploded = explode('_', $fieldName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use SPACE as separator here?
"@*@": "@*@" | ||
} | ||
""" | ||
|
||
Scenario: As a user I fetch contents in JSON+LD format |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why jsonld has been deleted?
…tcontent-for-front
…tcontent-for-front
@stryxx Gentle nudge.. Any progress on this PR? :-) |
No description provided.