Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New-XbBatchBounds should always return an array #8

Open
petervandivier opened this issue Jul 12, 2023 · 0 comments
Open

New-XbBatchBounds should always return an array #8

petervandivier opened this issue Jul 12, 2023 · 0 comments

Comments

@petervandivier
Copy link
Owner

Following f0baaed (v0.0.3), we support non-contiguous batch bounds. When constructing a non-contiguous batch, you may start with a single object.

Does not work currently

$bounds = New-XbBatchBounds -Start '2023-01-01' -End '2023-01-02' -Step "1.00:00:00"
$bounds += New-XbBatchBounds -Start '2023-02-01' -End '2023-03-01' -Step "1.00:00:00"

InvalidOperation: Method invocation failed because [System.Management.Automation.PSObject] does not
contain a method named 'op_Addition'.

Need to force singleton response from New-XbBatchBounds to be an array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant