@infrab4a/connect 5.1.1-beta.3 → 5.1.1-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +4 -0
- package/index.esm.js +4 -0
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -3918,8 +3918,11 @@ class HasuraGetVariablesHelper {
|
|
|
3918
3918
|
if (lodash.isNil(instance[identifierBinded]))
|
|
3919
3919
|
return ids;
|
|
3920
3920
|
const columnOption = AttributeOptionHelper.FindByAttribute(identifier, fields);
|
|
3921
|
+
console.warn('columnOption', columnOption);
|
|
3921
3922
|
const value = columnOption?.to?.(identifiers[identifier], instance) ||
|
|
3922
3923
|
identifiers[identifier];
|
|
3924
|
+
console.warn('columnOption value', value);
|
|
3925
|
+
console.warn('columnOption ...ids', ...ids);
|
|
3923
3926
|
return {
|
|
3924
3927
|
...ids,
|
|
3925
3928
|
[columnOption.columnName]: {
|
|
@@ -7635,6 +7638,7 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
|
|
|
7635
7638
|
return reviews;
|
|
7636
7639
|
}
|
|
7637
7640
|
async findCatalog(params, mainGender, options) {
|
|
7641
|
+
console.warn('findCatalog', { params, ...params.filters, published: true });
|
|
7638
7642
|
const result = await this.find({
|
|
7639
7643
|
...params,
|
|
7640
7644
|
filters: { ...params.filters, published: true },
|
package/index.esm.js
CHANGED
|
@@ -3893,8 +3893,11 @@ class HasuraGetVariablesHelper {
|
|
|
3893
3893
|
if (isNil(instance[identifierBinded]))
|
|
3894
3894
|
return ids;
|
|
3895
3895
|
const columnOption = AttributeOptionHelper.FindByAttribute(identifier, fields);
|
|
3896
|
+
console.warn('columnOption', columnOption);
|
|
3896
3897
|
const value = columnOption?.to?.(identifiers[identifier], instance) ||
|
|
3897
3898
|
identifiers[identifier];
|
|
3899
|
+
console.warn('columnOption value', value);
|
|
3900
|
+
console.warn('columnOption ...ids', ...ids);
|
|
3898
3901
|
return {
|
|
3899
3902
|
...ids,
|
|
3900
3903
|
[columnOption.columnName]: {
|
|
@@ -7610,6 +7613,7 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
|
|
|
7610
7613
|
return reviews;
|
|
7611
7614
|
}
|
|
7612
7615
|
async findCatalog(params, mainGender, options) {
|
|
7616
|
+
console.warn('findCatalog', { params, ...params.filters, published: true });
|
|
7613
7617
|
const result = await this.find({
|
|
7614
7618
|
...params,
|
|
7615
7619
|
filters: { ...params.filters, published: true },
|