Код: Выделить всё
2024-01-18T20:48:48.900Z INFO 66 --- [ restartedMain] o.s.b.a.g.GraphQlAutoConfiguration : GraphQL schema inspection:
surgio-api | Unmapped fields: {Query=[assets, assetTypes], Asset=[isTemplate], User=[isTwoFactorAuthEnabled, isAccountLocked, isPasswordExpired, isVerified], KeyPair=[isActive], AccountProperty=[isCustomerFacing]}
surgio-api | Unmapped registrations: {}
surgio-api | Skipped types: []
Код: Выделить всё
@Entity
public class Asset extends SoftDeleteEntity {
//----------------------------------------
// Member Variables
//----------------------------------------
/**
* Single Values
*/
private boolean isTemplate;
//----------------------------------------
// Getter Methods
//----------------------------------------
/**
* Returns a flag indicating whether this asset can be used as a template for another asset
*
* @return the is asset template flag
*/
public boolean isTemplate() {
return this.isTemplate;
}
//----------------------------------------
// Setter Methods
//----------------------------------------
/**
* Sets whether this asset can be used for another template
*
* @param isTemplate the is template flag
*/
public void setTemplate(boolean isTemplate) {
this.isTemplate = isTemplate;
}
}
Код: Выделить всё
type Asset {
id: Int
isTemplate: Boolean
}
Как правильно с этим справиться?
Подробнее здесь: https://stackoverflow.com/questions/778 ... ped-fields