mikedklein
01/22/2019, 12:22 PMserum
01/22/2019, 12:31 PMexpiresAt and a status field in the backend. the issue I'm having is, that the status field might show PENDING, when it in fact is already expired. this is handled in my custom resolver, thoughserum
01/22/2019, 12:35 PMstatus field in the backend to
enum InviteStatus {
ACCEPTED, NOT_ACCEPTED
}
and then have
enum InviteStatus {
ACCEPTED, PENDING, EXPIRED
}
in my API, implemented with a resolver and the expiresAt fieldserum
01/22/2019, 12:41 PMserum
01/22/2019, 12:42 PM