---
title: "resolved(from:)"
framework: appintentstesting
role: symbol
role_heading: Instance Method
path: "appintentstesting/transientappentitydefinition/resolved(from:)-6xsjl"
---

# resolved(from:)

Resolves a transient entity from an exported IntentFile through the entity type’s Transferable conformance.

## Declaration

```swift
func resolved(from file: IntentFile) async throws -> AnyTransientAppEntity
```

## Parameters

- `file`: The IntentFile containing the exported entity data.

## Return Value

Return Value The resolved transient entity.

## Discussion

Discussion Use this to verify the import direction — that an IntentFile produced by AnyTransientAppEntity/exported(as:)-swift.method (or constructed from test data) can be resolved back into a transient entity through the same pipeline used at runtime. note: If the entity type does not support the file’s content type. let file = try await transientEntity.exported(as: .json) let resolved = try await sessionEntityDef.resolved(from: file)
