Michał

Results 39 comments of Michał

There is another problem in rendering that causes any details elements as children of a dropdown to also render as a dropdown. This is due to this line `details.dropdown[open] summary::before`...

> There is another problem in rendering that causes any details elements as children of a dropdown to also render as a dropdown. This is due to this line `details.dropdown[open]...

Note the typing is also used for the "refund" event, which is OK as Google Analytics also accepts, and even requests, a currency - see "* If you set value...

@MatteoGabriele I have updated the types to make currency required if value is present, as per the Google docs. You can play with it here: https://www.typescriptlang.org/play/?#code/ATD0CpwKBZ2AAgZwKYuACwC5YA5IC5RQATFANxQBsB7XFAJyQDoBzGm1qlZgYxoC2oAIYA7YVQCeWAJa8kpCqwCuMsgv5VuvWTVGhWWYawBWClKIxjeKEgFoU-AQMY2AxMJ0y9AfRLCjGBBwUCCUAA9cGgYsYBlRLEYAM090AFEnFwYbAEEvPQAhYVRgAG8gkAh4AFVRGQBHZXQASQARYCTo4CwMdCwGMSRPXVFmOFDYboHRIfzRHzUCYCR++NYAbgqwSGAAFV7lrGj0LuEkpJkqGQDvUQ6GQWAAdww5DG7XpCnB4dvgGl4vGUDAYtnGWzOFyuNz0AH4lisGGtNpMqnthOFgMIBDRlAlwZMjOF4cBRMoBAAjRgo2BogDKr1wuDWwH4KwJsCQjOZolYJLJlOpWzR+3QwhBwkkrL0RniLJ6YqQSAB10SJGAuAeJGUOi+IS2MkSAiQJIA4kZWMxmkaANoAXRplR2osOKFwwAAFMJSeSqQwAJRxO4K1m9XgAa1xsU1AJQSo5IF4YcjyiwPhWbv5vqFqJ2AGFk1H-rgRp6ZMweMtqI41RrJS58S4ejQSIH9ZMk44U2m6CMSYjkUEAL5BMKRaKxeKJBgpGzADKCLK5OYAdUNGDzwNBol4UoiiVEJC+C+crhQeRGRRK5Vz8AAahImmWK8wADTAUGUMkoQPFZW8VUwSedcPnQCgLFidtYHIR8UCWAU-UdbZ4BdIEQQsXd-iSUDgBgqgnygxMtwwyQEVWXkaRHEAxyiGIg2nWd0kyM8L1uNdm1TTd0J3PdwgPI952Y7JzzmK90BvWkdgffD0A9cseHfT8LCaX8lRVAIgJAkNwPxQjcNgkk8TIC5RFsJCRQONDt0wmhsJDPCCImWArJIwzDxQEyzOHUcQAiWjYiwSR6EExcWLmYAAF4QtPYTWL0diN2InjgAAH2ipcRJGBKoy46zJE2KBuFiYCelykilhPDK4tEAqSsS7jMKiiSQH6H45gWEgCAAIgARi618tgcuCeoGjskt3JYuuqOlWi6qAR0KlBivXHLxtI9KwpGWqVs4tbIrKLZWpmX5fEWXr+sG2CCB6+aCqK54dqwMqeJyQ9pKaCqhOXLaoCgOrVoayRXpId70Caw7plmEYOu6vrbqAA

I've added a final touch-up to enforce that the currency is exactly 3 letters and uppercase

@MatteoGabriele can we get a move on this? This is actually quite important because this param is required according to Google.

@lucaslarroche thoughts?

Agreed - even just passing the Zod schemas down to the args of `api(args)` of initClient would be immensely helpful. It's also not currently standardised, e.g: you can get the...

@bestickley actually I stand corrected, the body schema at least is there, so you can do something like this to get pre-request validation. ```typescript if (args.route.body instanceof ZodObject) { await...