Justin Grote

Results 875 comments of Justin Grote

@andyleejordan are there any potential regressions with, say, piping two secretinfo results with the same name to `get-secret`?

1. Create a vault 2. At the get-secretinfo step, return two secrets with the same name 3. Error is thrown Ideally a vault doesn't have duplicate names, but it can...

@Callidus2000 as per the linked PR, @andyleejordan's fix will use a `SortedSet` rather than a `SortedDictionary` to allow for identical names.

@PaulHigin so is the recommendation to emit non-terminating errors? I'm a bit concerned about the "wall of text" especially because even with ConciseView, Write-Error includes the path to the source...

@PaulHigin That is reasonable though I still worry about "wall of text" for script errors as shown above (I did throw but same happens with Write-Error). binary modules won't do...

@PaulHigin after a discussion with @seeminglyscience, he suggested you could expose the outer `PSCmdlet` of the caller scope to the extension module, maybe as a variable or as a parameter...

Also as an example, see this issue where the user had no idea what the problem was, but if he would have looked at $error[0].exception.innerexception.message he would have found the...

@PaulHigin I re-read your specifications in the README and changed everything to non-terminating. This works OK however because of the way you call the extension, there is no $PSCmdlet to...

@SeeminglyScience is correct, and this happens even in conciseview, not just full view

@PaulHigin I considered warning but the problem is that a user can't interrogate a warning with a stacktrace of where the issue occured in *their* code, further they can't try/catch...