detect_multiple_role_definitions requires a template rather than dictionary like verify_spec method. I wasnt sure where was the best place to run detect_multiple_role_definitions, I added it to load_spec since we would essentially have to do the same thing if we were to keep the two separate
error string on objs referenced in read/write might be misleading. if obj with the same name is referenced in read write for multiple sections ( schema / table / sequence ) the name will simply show up multiple times in the error string
Example:
A few things I am wondering about:
detect_multiple_role_definitions requires a template rather than dictionary like verify_spec method. I wasnt sure where was the best place to run detect_multiple_role_definitions, I added it to load_spec since we would essentially have to do the same thing if we were to keep the two separate
error string on objs referenced in read/write might be misleading. if obj with the same name is referenced in read write for multiple sections ( schema / table / sequence ) the name will simply show up multiple times in the error string Example:
error string will be: danil: [hoop, hoop]
Should we add more info?
Looking forward to hearing your feedback!