forcedotcom / go-soql

Golang tag library to generate SOQL queries
BSD 3-Clause "New" or "Revised" License
52 stars 12 forks source link

Handle error conditions consistently #2

Closed atulkc closed 4 years ago

atulkc commented 4 years ago

Library returns ErrInvalidTag in some cases like tags that are not supported or selectChild tag used on non struct members but in some cases ignores the error conditions e.g. when likeOperator is used on non []string type. Make library return ErrInvalidTag error for all the cases.

atulkc commented 4 years ago

Fixed with commit: 78afde853203feb9663ef55e45e82a0be1ac2331