The elasticsearch changes will I think be the final breaking changes for g6 right?
regarding @Samuele575 's question, not sure I understand completely.
But if you have the separate service handling websocket connections, the worker task should be able to send some notifications too, no?
Probably you can't pass the open websocket connection to the worker as a parameter, because the parameters are json-serialized before sending to rabbitmq, but maybe you could pass the worker ws url?
hope it helped
pip install -e mypackage
and then starting the server. Doesn't guiilotina reload on its own on every code change like django or rails?
awesome-asgi
repo to add Guillotina florimondmanca/awesome-asgi#41. It needs 20 upvotes to be merged... Can you help with a :+1: ? :)
@pigeonflight I think I found the problem: plone/guillotina@34c6bc0 In G6 we changed some methods of the ICatalog interface and the behavior of the catalog api.
GET @search uses ICatalog.search
and expects queries to be parsed
POST @search uses ICatalog.search_raw
and expects raw queries (i.e. ES queries)
The former is not supported in pgcatalog. So, I'd say it's not a bug and could be solved changing the api call to a GET. Maybe this breaking change could have had been documented better
With a simple reservation calendar thus:
class ICalendar(Interface):
name = TextLine()
@contenttype(type_name="Calendar", schema=ICalendar, behaviors=[DCbehavior])
class ReservationCalendar(content.Folder):
"calendar resource type”
.. and then POSTing a new calendar with JSON body:
{
"@type": "Calendar",
"name": "Test calendar"
}
the response is:
{
"@id": "http://localhost:8080/db/calendars/d9a348011fea46d5baab516fdd534941",
"@name": "d9a348011fea46d5baab516fdd534941",
"@type": "Calendar",
"@uid": "c19|d9a348011fea46d5baab516fdd534941"
}
Why is the calendar name not returned? As far as I can tell, this is 100% according to how docs instruct? Is name a reserved word because @name, or something?
name
as well
@pigeonflight I think I found the problem: plone/guillotina@34c6bc0 In G6 we changed some methods of the ICatalog interface and the behavior of the catalog api.
GET @search uses
ICatalog.search
and expects queries to be parsed
POST @search usesICatalog.search_raw
and expects raw queries (i.e. ES queries)The former is not supported in pgcatalog. So, I'd say it's not a bug and could be solved changing the api call to a GET. Maybe this breaking change could have had been documented better
I need to re-read this to understand the implications. Are you just saying that GET based search is off the table when using pgcatalog?