Closed mikeywaites closed 9 years ago
@krak3n reported this issue
Take a serializer definition such as
class SchedulableEntitySerializer(SQASerializer): id = Field(t.String, read_only=True) name = Field(t.String) description = Field(t.String, required=False) company_relationship = Field( NestedForeignKeyStr(CompanyRelationshipSerializer) )
Allowing Nested* to accept a python import path as a string would help to solve some circular dependancy issues.
class SchedulableEntitySerializer(SQASerializer): id = Field(t.String, read_only=True) name = Field(t.String) description = Field(t.String, required=False) company_relationship = Field( NestedForeignKeyStr('path.to.CompanyRelationshipSerializer',) )
@krak3n reported this issue
Take a serializer definition such as
Allowing Nested* to accept a python import path as a string would help to solve some circular dependancy issues.