Jonathan O'Connor
Jonathan O'Connor
Last Christmas, I was playing around with reflection ideas, and created a little library (not on Github, and probably won't be) called Spiegel, which is German for mirror. Maybe Zerkalo,...
I'd even go for a C++20 implementation, although that might be a step too far.
Elias, here's my C++20 version: https://github.com/ninkibah/MetaStuff/tree/cpp20 Most of it is C++17. The main difference is that I added macros to make it simple to define the registerMembers code. For example,...
I hope this pull request is useful. I implemented pdlug's suggestion of a require_all option. It defaults to true, so keeping the current strict behavior. I turned it to false...
Iain, do you mean to tell me that if I had just added additionalProperties: false to my schemas, that I could have validated my data without using strict mode? But,...
Thanks for the quick answer. I went looking for examples with NAMED_ALLOW_CALL and didn't find any, but I guess it would look something like the folowing: ``` struct Real {...
I was looking in the cookbook, which seemed the best place to start. All the examples there were ALLOW_CALL or REQUIRE_CALL, so I presumed that's what I should use. I'll...
Good to see that I hadn't found missing functionality in your library :-)
@mattbrictson Thanks for your quick response. I looked for that and didn't find it. For more info, I'm running all this on MacOS, using ruby 3.2.0 (2022-12-25 revision a528908271) [arm64-darwin24]...