sam-goodwin / eventual

Build scalable and durable micro-services with APIs, Messaging and Workflows
https://docs.eventual.ai
MIT License
173 stars 4 forks source link

Entity attributes do not support z.custom() #480

Open thantos opened 8 months ago

thantos commented 8 months ago
entity("", { 
   attributes: { 
      key: z.string(),
      v: z.custom<MyType>()
   },
   partition: ["key"]
})

Type 'MyType' is not assignable to type 'AttributeValue'.