Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Cannot preload , value of is undefined

// Checking for existence before preloading bypasses the error:
if(user.settingId)
{
    await user.preload("setting")
}
Source by github.com #
 
PREVIOUS NEXT
Tagged: #Cannot #preload
ADD COMMENT
Topic
Name
9+4 =