Skip to content

Commands: Design-time scenarios #2294

Closed

Description

@bricelam

We should think through all the different scenarios we want to support at design-time. This includes:

  • Splitting things (services, config, contexts, models, migrations, etc.) into different projects
  • Context constructor and Startup.ConfigureServices patterns (See Commands: Add IDbContextFactory #639)
  • The concept of environments (e.g. Development, Production, etc.)

There are a lot of interacting parts here:

  • The project on which the command is invoked
    • Migrations in this assembly
    • Contexts in this assembly
    • Contexts referenced by the migrations
  • The startup project
    • Contexts in this assembly
    • Contexts registered in services
  • The migrations assembly as configured by the context
    • Migrations in this assembly

A few other related bugs: #732, #2219, #2256, #2293

Activity

  1. added this to the 7.0.0 milestone on May 29, 2015
  2. divega commented on Aug 19, 2015

    @divega
    Contributor

    I think #2357 is also very related.

  3. bricelam commented on Aug 20, 2015

    @bricelam
    ContributorAuthor

    ...and #2553 and #2867... 😄 This is the "fix everything design-time related" bug.

  4. divega commented on Aug 20, 2015

    @divega
    Contributor

    Good luck! 😄

  5. modified the milestones: , 7.0.0 on Sep 17, 2015
  6. bricelam commented on Sep 23, 2015

    @bricelam
    ContributorAuthor
  7. bricelam commented on Oct 5, 2015

    @bricelam
    ContributorAuthor

    Closing; the remaining work is tracked by #639 & #2679.

  8. modified the milestones: , 1.0.0 on Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions