Tyler W. Walch

Results 101 comments of Tyler W. Walch

Great request! I'm surprised it's not an option currently tbh

That property does not currently change library behavior

I took a little bit of time to look into this. I found that I can remove this constraint if the keys being reversed use the `template` syntax, but the...

Sorry, I definitely wasn't clear in my last comment. I could get this working quickly with the caveat that you'd have to use the `template` syntax (not ideal for all...

I just merged `3.3.0` which allows reverse indexes when using `template` and I just made a PR for `3.4.0` which allows reverse indexes _without_ `template` here: https://github.com/tywalch/electrodb/pull/474. I will merge...

I just merged this PR https://github.com/tywalch/electrodb/pull/474 enabling reverse indexes using only the `composite` syntax. For any future readers of this ticket, the use of `template` should _not_ be the default...

This type of validation is likely better achieved with condition checks on write. The `set` callback will only ever have access to the values provided to the client, and because...

Hi @dabrowne 👋 Thank you for writing this and for suggesting a thoughtful and thorough solution. Firstly, to your original challenge, [would adding `status` to your index composite](https://electrodb.fun/?#code/PQKgBAsg9gJgpgGzARwK5wE4Es4GcA0YuccYGeqCALgUQBYCG5YA7llXWAGbZwB2MXGBDAAUKKwBbAA5QMVMAG8wAUT5V2ATzABfbhiiSwAIkRwAxlQMwARsYDc481D64FVBjYSkAvCc1QqBgA+h5ecMF8DJJwDk4ubmD8Vtp+fHAsqupaABSiYEr5YJKwiABchQUFxBgAbljmcBUA5FR4VM34RQXJWi1tbp3dYLWYuFguLQCMzUU6XQUMVFZYNqgDFYrDcgDmDHxYAF5LE3wAkjCbwwVUmtJNYM1u2Hw7Q1VV5GhY5JdgVugFlV5sMsH8th8bncHk8Vq93pCvqgfnA-gC4ECCiCPlEYldIf9oS1nlh4ZjPnBvr8Kujydiqm4lqhcPjIbd7sS4W9yQUkSi0RhAcN6fTSfAAB54Vk9dS8FmVSHSADW0shXBwCD+zWVCIJzhkUHGbQqAG1mrt9kcTi4Ls0ALrXXQ8ogqhUE9WILW4JW6yH62RGh5msH2x06YXkmyaABy0QeEMhYrg4paCFwM2dzgE7FOFRytQYCAAlGAfAA+EaFgB0jKozLAAEIfH5jPBvG0YMZncBgGAAMr3cxYLiaUk7bgawRgBhCBhgeD3AT8czaGL7IQcJb-OhwVfMhQ2UjSAz1eAwR09sCk6cIJCoaQwJZ4bdbwu4KDFXouMD+w3sUhJuKn6SIeGCzgIIwNKQoxgQwVaOlmMA5i4AAicCLvAfBDlKYAmsYtbMsYdrOsqqofB6motDqzoFL+gamuaGB7AcxwaDaMChgS9IfN6ZFVBRWpplM3q+h8dH-gxuJwJ0jwEbgnGQuGHxKbooj0soYTeKpRaOKIl4ACp0FgQhsLe24GJk+xJBgBgYPO6D-B+0hMBohZEIOw4NNafBgFAXDbqQC78Jh2G4HpvZcHIAVgAABlGsYxDFV5LuKVZgIZxmsIEmpgIeZB4FACCjDAuXaPqMTZK8vnrAF4WxeJbQ5EWSXmIWCDwckGCaEUVbOVQ5h0DkyhgtMABMADMMkWix3kXGNk26EWPUNXAQ1gFJFTGJImgALSdZoxiLT1xBUGtcktG2cAds0R0FFWOxQE1ulAA) be a...

Hi @iOSonntag 👋 Good question! It looks like the link in the error is dead (whoops! 👎 ) but here is where it should go: https://electrodb.dev/en/reference/errors/#missing-composite-attributes In a nutshell, one...

Hi @dabrowne 👋 Thanks for the ticket! At first glance it looks like you're use of `composite` is to add conditional expressions to your `patch`? Is that correct? If not,...