You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The redis.io webpage for bitfields needs the C# example as well. The python equivalent can be used to copy the setup and can be found here
The first line of the file needs to be the ID for the example - # EXAMPLE: bitfield_tutorial
Each separate section is delimited with a tag that you will need to copy exactly for it to appear in the correct place, ie.
# STEP_START bf
{code}
# STEP_END
# HIDE_START, # HIDE_END, # REMOVE_START, and # REMOVE_END can be used for debugging and deleting keys. Hide will hide until a user expands the example, remove will only be seen in the source code and will never appear on the webpage.
@dwdougherty and I will be reviewing and tracking these issues - feel free to tag us with any questions
Hmmm; somehow I think we've not added direct BITFIELD support yet, despite that being a 3.2 thing - we should fix thatz and I'm happy to repurpose this to do that. However, updating redis.io seems like a different repo, i.e. we literally can't do that from here
@mgravell I can tag @uglide to explain how it all works, but I thought this was the appropriate repo since it works just fine from the NRedisStack - redis/NRedisStack#197 - here's one that Steve did to add in a different data type. Is NRedisStack the correct repo instead of this one?
Activity
mgravell commentedon Nov 27, 2023
Hmmm; somehow I think we've not added direct BITFIELD support yet, despite that being a 3.2 thing - we should fix thatz and I'm happy to repurpose this to do that. However, updating redis.io seems like a different repo, i.e. we literally can't do that from here
sav-norem commentedon Nov 27, 2023
@mgravell I can tag @uglide to explain how it all works, but I thought this was the appropriate repo since it works just fine from the NRedisStack - redis/NRedisStack#197 - here's one that Steve did to add in a different data type. Is NRedisStack the correct repo instead of this one?
sav-norem commentedon Nov 27, 2023
actually that probably means that NRedisStack is the only place it will work from - I'll move these over there.
mgravell commentedon Nov 27, 2023
We should still add direct support - it is more efficient and obvious that having to use an extension.
slorello89 commentedon Nov 27, 2023
FYI @mgravell #2107 (never did get around to figuring out the API design)