adwhit

Results 40 comments of adwhit

To go into more detail, when we obtain a `PgConnection`, we run `conn.execute("SET search_path TO pg_temp;").unwrap();`. Now `pg_temp` is actually an alias to a temporary schema which by my understanding...

Good to know. I'll keep this issue open to remind myself that the testing setup is an unfortunate hack.

I think what you have outlined is a separate problem from the issue. I think my concern was that in general, the `read` system call can read an arbitrary number...

Hello, nice to meet you yesterday. I would be happy enough to add an integration test as you describe. The trick would just be working out how to always grab...

This can be forced to work with ``` schema: type: array items: $ref: 'file:///full/path/to/the/components.yaml#/components/schemas/Warehouse' ``` But that is not really going to work on a server

I dug into this a little bit. It seems that `actix-server` code still assumes that a worker can crash (i.e. uncaught panic) and it has a recovery mechanism in place;...

Try deleting and recrating your schema, the `print-schema` macro should pick up the enum types in your database

Think there is still a bit of work to be done - https://github.com/adwhit/diesel-derive-enum/pull/79

Also TBH I'm not very happy with this crate in its current state. Relying on `print-schema` to get the correct Postgres types is fine, it works, but I think it...

There is a change with 2.0 which is tricky to handle. For postgres *only*, diesel 2.0 will now detect enum types within the database and create corresponding rust types in...