| 11:55 | mstenta[m] | FYI I have a conflict during the first part of the dev call today. I'll try to join late if I can. |
| 15:59 | symbioquine[m] | farmOS dev call on now - all are welcome! meet.jit.si/farmos-dev |
| 16:31 | * | uploaded an image: (280KiB) < matrix.org/oftc/media/v1/media/download/ > |
| 18:21 | mstenta[m] | symbioquine: FYI I left a comment and minor nit-pick review on github.com/farmOS/farmOS/pull/1100 |
| 18:21 | mstenta[m] | Overall I think it looks good |
| 18:22 | mstenta[m] | The (string) casting would only be an issue if we ever wanted to add a non-scalar "supported property" in the future. |
| 18:22 | mstenta[m] | I can't really think of an example where that would be needed |
| 18:23 | mstenta[m] | And if there is, presumably we would add tests at the same time and realize that the string cast breaks it, and adjust accordingly. |
| 18:23 | symbioquine[m] | Sounds good |
| 18:23 | mstenta[m] | So I'm inclined to approve this, pending the very minor comment nit I requested :-) |
| 18:24 | symbioquine[m] | Seems like it should be merged then and if we decide to combine those code paths, that would be a separate/future change. |
| 18:25 | symbioquine[m] | Maybe worth adding tests to show how the cast behaves with complex/unexpected nested elements. |
| 18:26 | mstenta[m] | And regarding the "was this AI generated" question, I'm not worried about it, for the same reasons I gave earlier regarding Greg's PR: 1) the actual functional change is minimal (under the 15-line threshold that GCC uses, if we were to adopt that), and 2) the tests don't matter from a GPL perspective. |
| 18:27 | mstenta[m] | Let's add this as a topic for the upcoming monthly call, though... so we can nail down our own policy :-) |
| 18:27 | symbioquine[m] | symbioquine[m]: Ah, I see you already captured that in your feedback. |
| 18:28 | mstenta[m] | Oops... weird... OK... GitHub is acting weird |
| 18:29 | mstenta[m] | I accidentally commented twice... the second one was what I wrote first, and then discarded it... |
| 18:29 | mstenta[m] | Don't understand what happened there... |
| 18:29 | mstenta[m] | I actually removed the bit about your suggestion for adding a test in my final comment... |
| 18:30 | mstenta[m] | But I'll preserve it now in this second comment, and remove the duplicated sentences 😅 |
| 18:32 | mstenta[m] | Oh I see what happened... I had copied that first draft comment into the overall "Review" text box and forgot to remove it. |
| 18:32 | mstenta[m] | Ignore my ramblings... 😆 |