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

Unable to build generate classes on mac os #230

Closed
gairick-saha opened this issue Jul 30, 2021 · 2 comments
Closed

Unable to build generate classes on mac os #230

gairick-saha opened this issue Jul 30, 2021 · 2 comments

Comments

@gairick-saha
Copy link

[SEVERE] built_value_generator:built_value on lib/schema/schema.schema.gql.dart:
Error in BuiltValueGenerator for /incredible/lib/schema/schema.schema.gql.dart.
Please make the following changes to use built_value serialization:

  1. Declare GENUM_JOB_VISIBILITY.serializer as: static Serializer<GENUM_JOB_VISIBILITY> get serializer => _$gENUMJOBVISIBILITYSerializer; got static Serializer<GENUM_JOB_VISIBILITY> get serializer => _$genumJobVisibilitySerializer;
  2. Declare GENUM_JOB_PAYMENT_TYPE.serializer as: static Serializer<GENUM_JOB_PAYMENT_TYPE> get serializer => _$gENUMJOBPAYMENTTYPESerializer; got static Serializer<GENUM_JOB_PAYMENT_TYPE> get serializer => _$genumJobPaymentTypeSerializer;
  3. Declare GENUM_PRODUCT_TYPE.serializer as: static Serializer<GENUM_PRODUCT_TYPE> get serializer => _$gENUMPRODUCTTYPESerializer; got static Serializer<GENUM_PRODUCT_TYPE> get serializer => _$genumProductTypeSerializer;
  4. Declare GENUM_USERSPERMISSIONSUSER_PREFERED_CHARGING_TYPE.serializer as: static Serializer<GENUM_USERSPERMISSIONSUSER_PREFERED_CHARGING_TYPE> get serializer => _$gENUMUSERSPERMISSIONSUSERPREFEREDCHARGINGTYPESerializer; got static Serializer<GENUM_USERSPERMISSIONSUSER_PREFERED_CHARGING_TYPE> get serializer => _$genumUserspermissionsuserPreferedChargingTypeSerializer;
  5. Declare GENUM_USERSPERMISSIONSUSER_PREFFERED_WORK_LOCATION.serializer as: static Serializer<GENUM_USERSPERMISSIONSUSER_PREFFERED_WORK_LOCATION> get serializer => _$gENUMUSERSPERMISSIONSUSERPREFFEREDWORKLOCATIONSerializer; got static Serializer<GENUM_USERSPERMISSIONSUSER_PREFFERED_WORK_LOCATION> get serializer => _$genumUserspermissionsuserPrefferedWorkLocationSerializer;
    [INFO] 42.0s elapsed, 70/72 actions completed.
    [INFO] 43.2s elapsed, 96/96 actions completed.
    [INFO] Running build completed, took 43.8s

[INFO] Caching finalized dependency graph...
[INFO] Caching finalized dependency graph completed, took 397ms

@Prathik-Jain
Copy link

gql-dart/gql#239

@smkhalsa
Copy link
Member

smkhalsa commented Sep 6, 2021

Closing since this appears to be related to the above linked issue.

@smkhalsa smkhalsa closed this as completed Sep 6, 2021
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

3 participants