attribute :user do
{
first_name: contact&.first_name,
last_name: contact&.last_name
}
end
searchable_attributes [
'user.first_name'
]
However we are getting these warning:
[meilisearch-rails] Team#user.first_name declared in searchable_attributes but not in attributes. Please add it to attributes if it should be searchable.
Clearly we have declared this as a (nested) attribute - Fortunately the search still works as intended, this seems to have no impact on functionality.
We are declaring nested attributes like this:
However we are getting these warning:
Clearly we have declared this as a (nested) attribute - Fortunately the search still works as intended, this seems to have no impact on functionality.
Is this console warning a bug?