kylebarron commented on code in PR #320:
URL: https://github.com/apache/arrow-js/pull/320#discussion_r2483078995


##########
src/data.ts:
##########
@@ -117,7 +123,16 @@ export class Data<T extends DataType = DataType> {
         return nullCount;
     }
 
-    constructor(type: T, offset: number, length: number, nullCount?: number, 
buffers?: Partial<Buffers<T>> | Data<T>, children: Data[] = [], dictionary?: 
Vector) {
+    constructor(
+        type: T,
+        offset: number,
+        length: number,
+        nullCount?: number,
+        buffers?: Partial<Buffers<T>> | Data<T>,
+        children: Data[] = [],
+        dictionary?: Vector,
+        variadicBuffers: ReadonlyArray<Uint8Array> = []

Review Comment:
   This constructor is getting pretty verbose. Perhaps we should create an 
options object?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to