Closed (fixed)
Project:
Flag
Version:
8.x-4.x-dev
Component:
Flag core
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2015 at 09:47 UTC
Updated:
13 Aug 2015 at 20:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
giancarlosotelo commentedTests are green now.
Comment #2
giancarlosotelo commentedComment #3
berdirNice.
The problem now is that those two are plugin-based configuration.
So they can be different based on the used link type.
So we need a dynamic schema, based on the value of the plugin, and at least for the flag type, it probably also needs a wildcard as that is automatically exposed for all entity types.
See search_api.schema.yml for an example for the dynamic definition and search_api.datasources.schema.yml for an example of a dynamic wildcard thing.
Comment #4
berdirComment #5
giancarlosotelo commentedAdded a dynamic schema for flag type and link type.
Comment #6
giancarlosotelo commentedI delete one 'flag.' string and also works. It is cleaner now.
Comment #7
berdirNice!
Comment #9
joachim commentedBrilliant! This was a major issue with our tests. Thanks for working on it.