Allow ordering profiles by email address
GraphQL profile ordering rejected EMAIL_ADDRESS because ProfileOrderField did not expose this enum value in connect and console schemas. Add EMAIL_ADDRESS to MembershipProfileOrderField and its validation list so order input coercion accepts the value consistently. Extend MembershipProfile cursor key encoding to support email ordering and avoid runtime panics during pagination. Update the MCP profile order enum to keep API surface definitions aligned with the same ordering capability. Signed-off-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This commit is contained in:
committed by
Bryan Frimin
parent
29d8181b2c
commit
8b6e9e420a
@@ -167,6 +167,7 @@ components:
|
||||
enum:
|
||||
- CREATED_AT
|
||||
- FULL_NAME
|
||||
- EMAIL_ADDRESS
|
||||
- KIND
|
||||
go.probo.inc/mcpgen/type: go.probo.inc/probo/pkg/coredata.MembershipProfileOrderField
|
||||
|
||||
|
||||
Reference in New Issue
Block a user