ddl2cpp command line argument for custom types#491
Conversation
CJCombrink
commented
Jun 15, 2023
- Updated the ddl2cpp script to allow custom/extended types through external csv file
- Had to re-order the script to allow the command line to be parsed before setting up the parser
- Updated README
- Updated the ddl2cpp script to allow custom/extended types through external csv file - Had to re-order the script to allow the command line to be parsed before setting up the parser - Updated README
|
This looks pretty nice, thanks for the new PR. Can you add a test in the tests/scripts directory? |
|
I am planning to add a test yes. |
|
No worries, I did not mean to rush you :-) |
|
@rbock Do you have some suggestion for a test?
I think I found the location and method, will implement something |
- Script test only for now
- Firs a negative test - Last a positive test and compile test against the generated output
rbock
left a comment
There was a problem hiding this comment.
Thanks for the creating the test! I have one comment, but otherwise, this looks very good to me.
- Ensure built in types still work - Check capitilisation - Ensure more than one custom works - Check type with spaces
|
Looks good to me. If you're also happy at this point, I think this is ready to be merged. |
|
Thanks for the library and feedback. |
|
Done :-) |