-
Notifications
You must be signed in to change notification settings - Fork 226
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
WireViz 0.3: BOM field Qty
changed type to str
#252
Comments
#251 will involve a full rebuild of the entire BOM building logic, and I agree that I will add that the BOM code is not yet reworked, so I wouldn't go looking just yet. |
I can also envision running |
Hi Daniel, thanks for your kind response.
From the perspective of using WireViz as a library, if I may share my thoughts here, and attaching to what has been said at #231 and #253 (comment), I would recommend getting rid of the On this instance, implementing Coming from the current state, where I have to invoke
in order to get what I want, maybe I can suggest putting Those are just random thoughts, sharing my two cents. I hope you like it. With kind regards, |
I would be 100% in favor of this solution, to give the calling function the control over what properties ( A quick clarification: Are you mentioning |
Exactly. Sorry for the confusion. |
I think it is safe to close this issue. It was only meant to be a heads up. WireViz-Web will be happy to consume the outcome of #251 when it is ready. |
Hi Daniel,
thanks a stack for releasing WireViz 0.3. On behalf of wireviz/wireviz-web#3, I am working to adjust WireViz-Web appropriately.
Hereby, I would like to report that, apparently, the output type of the BOM
Qty
field has changed. You will be able to inspect this by looking at the subtle change when comparing BOM's JSON representation v0.2 vs. v0.3.Those changes seem legit:
bom_list()
function has to be used explicitlyHowever, I wanted to bring the type change on the
Qty
field to your explicit attention. Maybe you also believe it would be better to have this asfloat
number again, unless any other issue speaks against it?With kind regards,
Andreas.
The text was updated successfully, but these errors were encountered: