Doug Stevenson

Results 58 issues of Doug Stevenson

Currently, if there is code present that can’t be optimized, such `console.log()`, chiseld will crash with a message: > thread 'tokio-runtime-worker' panicked at 'not yet implemented', chiselc/src/policies.rs:633:17 It would be...

Defining the policy function like this: ```ts export default { create: async (e: Entity, ctx: ReqContext) => { return Action.Deny } } ``` Causes chiseld to crash with a very...

Suppose I have the following business rule to enforce: > Allow only users whose User entity contains the property admin with a true value to write any Employee entity instance...

Given: ```ts export class E extends ChiselEntity { num: number } ``` It's possible to write and execute a query like this: ```ts E.findMany({ num: { $gt: "990" } })...

For the purpose of documentation, we could use a description of the types of expressions that chiselc understands for the purpose of optimizing predicates into query conditions. I suspect this...

Since predicates can't always be compiled to a query and might require (at worst) an entire set of entity instances to be loaded and scanned, we could use some sort...

Currently the expiration of a token is only checked at the moment of connection. Instead, sqld should forcibly close connections at the time of expiration, or check the expiration at...

hrana2

If you use to sqld to create a database file, you can query it with sqlite3 no problem. If you use sqlite3 to create the file, sqld hangs with that...

sqld instances might have an interest in exposing some of their configuration to client apps in the form of HTTP headers, especially for the purpose of logging and diagnostics. One...

The SQLite VACUUM command is disabled (for good reason). If someone wants to optimize the total storage of a database, we will need a way to allow them to trigger...