Skip to content

Tracing and Testing #91

@farazfazli

Description

@farazfazli

Hi @jschaf, I saw there was some tracing code being generated via pggen at one point but it was removed from the repo. I am creating a new span before calling generated code and would like the pggen layer to be observable. How would you recommend doing this?

Additionally, can you please explain more about how you perform testing of the generated code? I see on #84 you explained how gomock can be used in source mode but interested in learning about the method you use / recommend for testing pggen-generated code in a production app. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions