As in the title, I have a TypedModel and want to access the id field. The field gets populated after I save, but I would like to avoid one extra write just to get an id. I saw in the docs that for regular Model instances the id field is populated on creation, and you don't need to save the data to get an id. I would like to have the same functionality on TypedModels, but I don't know what is the simplest way to do that.
As in the title, I have a TypedModel and want to access the id field. The field gets populated after I save, but I would like to avoid one extra write just to get an id. I saw in the docs that for regular Model instances the id field is populated on creation, and you don't need to save the data to get an id. I would like to have the same functionality on TypedModels, but I don't know what is the simplest way to do that.
Can you help me out?