Raman Gupta

Results 330 comments of Raman Gupta

[Relevant comment from Jake Wharton (Reddit)](https://www.reddit.com/r/Kotlin/comments/nekhx6/comment/gypc7z9/?utm_source=share&utm_medium=web2x&context=3)

> I agree that errorCallback is a bit confusing name, but I can't imagine better. What's confusing is not the name of the callback, but where it is passed in....

That's what I thought, but on inspecting the docker file, it runs `entrypoint.sh`, which runs `startup.sh`, which creates a PG database and starts it, regardless of the presence of the...

I guess its more of an efficiency thing than a correctness thing... there is no point in running a local postgres if its not needed.

One more point: after just now reviewing the linked video about errors, she actually uses the pattern I describe above, not the pattern in the text of the rule.

> The only problem with that approach is that sometimes you may have multiple problems returned and with this approach, you kinda locked into one. It's fine if there is...

Two simple use cases: 1) Similar to the OPs case, but I want to represent an empty Success type i.e. ``` union SomeMutationPayload = SomeMutationSuccess | SomeMutationError type SomeMutationSuccess {}...

Same issue here with 0.12.0-rc2 when running inside a git worktree (contains just a `.git` file instead of `.git` directory as noted by @jboreiko : ``` Caused by: java.lang.NullPointerException at...

Another example: keeping standard output on the screen as well as piping it to the next command. See http://stackoverflow.com/a/5677425/430128

We're using it to generate Asciidoc which we can then feed to Asciidoctor/J to make PDFs.