Closed quantranhong1999 closed 9 months ago
Listing all signature of a given user shall be quick.
Otherwise OK to me.
Listing all signature of a given user shall be quick.
why? There is no api that fetches only signatures for theuser, we always return the full identity object. Or is it something new? A query fetching just signatures of a user? But I think the front just get directly the all Identity so we are confused here, as we don't do that with Cassandra too.
I mean listing all identities for a given user shall be quick.
I mean listing all identities for a given user shall be quick.
This should be solved with an additional index on username
.
CassandraCustomIdentity use UDT array for reply_to and bbc. Postgresl support UDT but jooq does not support it well. Therefore, I intend to use 2 dimension array (TEXT[][]) for reply_to and bbc
CassandraCustomIdentity use UDT array for reply_to and bbc. Postgresl support UDT but jooq does not support it well. Therefore, I intend to use 2 dimension array (TEXT[][]) for reply_to and bbc
or JSON for simple
Why
We need a
CustomIdentityDAO
backed by Postgres (for Identity/get + set usage).How
Table structure:
An additional index on
username
would help list all identities for a given user quickly.Implement
PostgresCustomIdentityDAO
Guice binding in
PostgresJMAPModule
.DoD
Pass contract test
CustomIdentityDAOContract
.