Skip to content

resolveDjangoRoutes

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/parser-core/src/techdocs/cross-file-routes.ts

Write full URL paths onto Django endpoints. Mutates the entities in place and returns how many were resolved, so a caller can log a number that means something.

Signature

ts
function resolveDjangoRoutes(entities: Entity[]): number

Parameters

NameType
entitiesEntity[]

Returns: number

Was this page helpful?

Download as PDF